|
Downloads
Maya
Scripts - Maya Rigs
- Maya CGFX - Misc
Maya CGFX Shaders and Related Files
Shader-Related Files
| | [MORE] cgfxShader.mll | | |   | The CGFX Plugin that ships with Maya is functional, but lacks a few little polishes
make actually using it a pleasant experience. When you tell the plugin node what shader you want
to load, it create any needed input file textures, but they're all named file1, file2, file3, etc.
This isn't very artist friendly, so I added a bit to the plugin so it renames the file nodes
to tell you what shader they're connected to and to what input - eg. treeShader_diffuseMap |
| | [MORE] cgShaderHighlighter.chl | | |   | If you plan on writing a lot of shaders and don't have some sort of context-highlighting
text editor, I recommend ConText - and I've already written this
highlighter for CGFX. |
Interesting Shaders
| | [MORE] alx_char_uber.cgfx | | |   | This is my uber character shader. It features:
- Regular Color, Normal, Specular, Glossy, and Ambient Occlusion Maps
- Cubic Reflection and Ambient Light
- 1 Directional light for highlights, Blinn model for specularity
- It has an alpha technique, although Maya doesn't sort that well
It gets me what I want for characters inside of Maya, however,
it's certainly not optimized for real-time use, unless you are making a
game with few character on screen at once.
Just a quick warning on this one - all the comments have been stripped out by
a preprocessor. I use a lot of #include statements, and they don't play well
with Maya. |
Not Very Interesting Shaders, (But Useful as examples for Learning Purposes)
Sometimes people ask me for help learning to write shaders. I thought I'd put up some simple examples for regular artists who want to learn to write shaders for Maya.
| | [MORE] alx_outputColor.cgfx | | |   | This is a quick example shader that will work in Maya 7.0 and output
an unlit, hardcoded color. | | | [MORE] alx_outputUserColor.cgfx | | |   | This is a quick example shader that will work in Maya 7.0 and output
an unlit, user-defined color. | | | [MORE] alx_outputVertexColor.cgfx | | |   | This is a quick example shader that will work in Maya 7.0 and output
the unlit vertex colors on your object. |
|
|