Changes

Jump to: navigation, search

GAM670/DPS905 Weekly Schedule 20111

226 bytes added, 17:38, 2 February 2011
This Week
** [http://msdn.microsoft.com/en-us/library/aa451203.aspx Lighting Formulas]
*** Notation
***: G<sub>a</sub> - global ambient color
***: C<sub>a</sub> - material ambient color
***: GC<sub>ad</sub> - global ambient material diffuse color***: C<sub>s</sub> - material specular color
***: Atten<sub>i</sub> - attenuation of light i
***: L<sub>a</sub><sub>i</sub> - ambient color of light i
***: L<sub>d</sub><sub>i</sub> - diffuse color of light i
***: L<sub>s</sub><sub>i</sub> - specular color of light i
***:
*** Ambient
***: C<sub>a</sub> * ( G<sub>a</sub> + Atten<sub>i</sub> * sum[ L<sub>a</sub><sub>i</sub> ])
*** Diffuse
***: sum [ C<sub>d</sub> * [ L<sub>d</sub><sub>i</sub> * (N . L<sub>dir</sub>) * Atten <sub>i</sub> ]
*** Specular
***:

Navigation menu