|
Publication info: Valient, M., "Lighting - per pixel shading and optimizations for Direct3D 8", Online paper, November 2002. Abstract: My article from November 2002 about implementation of per-pixel Phong shading on DX8 class of hardware. Available with the source code. I re-viewed the article in 2004 and corrected some bugs and grammar. Also contains: - Description of the lighting equation - Description of tangent space - How to implement a spotlights - Various implementations for multiple lights per pass. Download page: Project6 - Lighting - Per-pixel shading and optimizations for Direct3D 8 download Sample figures:  Diffuse lighting equation visualization
 Specular equation visualization
 Tangent space visualization
 Example of per-pixel phong lighting with spotlight.
|