Is this useful ?

I’ve not yet started down the road of shader programming but I came across this. Is this tool helpful to those who are finding their way ?

http://www.macinit.com/mifx/

Could some one compile it? I would like to test it out, but dont know my way around Xcode.

Bill

I’ve compiled it, and included everything but the libpng folder that came with it, source and GPL included to satisfy the GPL (the worst open source license to exist :expressionless: ).

The non-linux Cg ToolKit license does not allow me to redistribute it alongside, so you’ll have to download the package from here: Cg Toolkit | NVIDIA Developer

Luckily it’s quite quick and painless, and requires no restarting or anything. It does however need an admin password. Though, you probably have access to one of those anyway.

I haven’t found an easy way to include UnityCG.cginc and co with the app, so the only was to test that is to use this line for UnityCG.cginc to be included:
#include "/Applications/Unity/Unity.app/Contents/CGIncludes/UnityCG.cginc" and this line for AutoLight.cginc:

#include "/Applications/Unity/Unity.app/Contents/CGIncludes/AutoLight.cginc"

I did find that in the original source, Cmd + Alt + R was used as the combination for building a shader. I changed this to the much more standard Cmd+R, but you can change it to Cmd+P by opening the the package contents, opening the Contents folder, Resources folder, and then the English.lproj folder, opening MainMenu.nib and under the effects menu, click on “[cloversymbol]R” and then actually pressing the combination Cmd+P.

Note: After getting the Cg ToolKit, the Xcode project you had should just work, by tapping Cmd+R.

Link here: http://homepage.mac.com/thelovells/ben/MI-FX.zip

[EDIT]Gah, forum software replace clover symbol for the Command key with ?s, along with the Alt symbol for the option key :frowning: