Adding Light to Your Scene in XNA 3.0


Lighting a scene sounds very easy: set the positions of the objects in your 3D world, define the positions of your lights, and—bingo!—you expect your 3D scene to be lit correctly. Although it seems trivial to have your graphics card do this for you, it definitely is not.


Graphic Card Light Direction Point Light Lighting Calculation Lighting Contribution 
These keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.


Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Copyright information

© Riemer Grootjans 2009

Personalised recommendations