Leo Covarrubias with Video 4 of the Maya CGFX shader writing tutorials, this one 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. Check out what you may have missed from previous entries here.
Maya: CGFX Shader Writing 04: Multiple Lights from CG Bootcamp on Vimeo.