Here is a very good link to learn about shading...and cg functions...
It is dedicaced to renderman but can be easy transposed to CI filter or GLSL.
Fundza.com
Malcom Kesson is a great professor of CG programming and an authority on Renderman. His site is exemplary of his willingness to share what he knows. Glad to see him mentioned here.
Hiya,
there's some interesting looking stuff here. Most of the code needs a fair amount of translation work before it will work in QC/GLSL though.
alx
Quartz Composer Blog: http://machinesdontcare.wordpress.com
Music Site: http://www.toneburst.net
GPU Gems Vol.1 now free and online
http://developer.download.nvidia.com/books/HTML/gpugems/gpugems_pref01.html
alx
Quartz Composer Blog: http://machinesdontcare.wordpress.com
Music Site: http://www.toneburst.net
Listing 6 on this page http://www.fundza.com/rman_shaders/surface/index.html looks like fun.
Might have a go at that sometime.
alx
Quartz Composer Blog: http://machinesdontcare.wordpress.com
Music Site: http://www.toneburst.net
Malcom Kesson is a great professor of CG programming and an authority on Renderman. His site is exemplary of his willingness to share what he knows. Glad to see him mentioned here.