Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

MDMstudios

macrumors member
Original poster
Mar 18, 2008
36
0
Hey all! I have been working on a Textmate bundle for Shaderlab, and got done the first beta, and thought yall might enjoy having a look (and hopefully sending back some feedback). Also I am including a theme I made, that I recommend for use with my bundle (although of course any theme will work). Here are some things to know:
1: Its a dynamic bundle, so trying to use a CGPROGRAM block outside of a subshader isn't going to work.
2: Shaderlab is for the most part none case sensitive, my bundle although not completely case sensitive, is more strict then Shaderlab (mostly to encourage more readable code [although I could change it if you all don't like it])
Example: SubShader will work, subShader will work, Subshader will work subshader will work, every other combination won't work. Its like that with pretty much everything (with the exception of double, which will work no matter how you type it in)
3: Things that begin with _ will be assumed to be variables, I found this nice, but tell me what you guys think.


Also remember this is a beta, and since this is the first beta, there is pretty much only the language grammar. Once I got the language grammar all done (meaning all the syntax coloring rules is done to how you guys like it, and I'm not missing any functions or anything), I will try to add in some more features (autocomplete and stuff like that)

If you guys could give me feedback, so I know what to fix, and what to add in that would be great. You can of course contact me through the forums, or my e-mail ( iPhone.MDMstudios@gmail.com [e-mail is probably best way to contact me])

Thanks, and hope yall enjoy!

*NOTE*:All updates will be put through http://forum.unity3d.com/viewtopic.php?t=24603
 

Attachments

  • ShaderlabBundle.zip
    5.9 KB · Views: 57
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.