Program 16 – Per Pixel Lighting
23.08.2004
Program uses pixel shaders for lighting scene with one point light. Light have ambient, diffuse and specular factor.
- variable specular exponet
- cube map normalization
- attenuation with choice from 7 equation
- 3 various technique for attenuation
Request pixel shader 1.1. Uses also pixel shader 1.4.