Maya: CGFX Shader Writing 04: Multiple Lights
Monday, August 30, 2010 at 11:21PM Video 4 covers how to work with multiple lights and light colors in our shader through a light loop. Also we add the ambient color attribute which rounds out our basic attributes.
Download: shader_demo_04.cgfx – completed shader file from the demo
shader_demo_04b.cgfx - with smoothstep() specular masking
Runtime: ~20 min.
Software: Maya
Instructor: Leo Covarrubias




