Open main menu

CDOT Wiki β

Changes

GAM670/DPS905 Weekly Schedule 20111

205 bytes added, 18:45, 2 February 2011
This Week
***:: = norm([0,0,1] + L<sub>dir</sub><sub>i</sub>) - less computationally intensive - assumes that camera is at infinity along z axis
***:
*** [http://msdn.microsoft.com/en-us/library/bb172256%28v=VS.85%29.aspx Ambient]
***: C<sub>a</sub> * ( G<sub>a</sub> + sum [L<sub>a</sub><sub>i</sub> * Atten<sub>i</sub> * Spot<sub>i</sub>] )
*** [http://msdn.microsoft.com/en-us/library/bb219656%28v=VS.85%29.aspx Diffuse]
***: C<sub>d</sub> * sum [ L<sub>d</sub><sub>i</sub> * (N . L<sub>dir</sub><sub>i</sub>) * Atten<sub>i</sub> * Spot<sub>i</sub> ]
*** [http://msdn.microsoft.com/en-us/library/bb147399%28VS.85%29.aspx Specular]
***: C<sub>s</sub> * sum [ L<sub>s</sub><sub>i</sub> * (N . H<sub>i</sub>) * Atten<sub>i</sub> * Spot<sub>i</sub> ]
** [http://msdn.microsoft.com/en-us/library/ff471376%28v=vs.85%29.aspx HLSL Intrinsic Functions]