Introduction - If you have any usage issues, please Google them yourself
Chapter VII of the " DirectX 8 tutorial" and supporting code: Lighting and Material Introduction (sequence) DirectX Lighting vs Real World Lighting the (DX illumination light of the real world) Attributes of a light (attributes): Position (position) Direction ( direction) Range (range) Attenuation (attenuation) the Diffuse Light (diffuse reflectance) Ambient Light (ambient light) Specular Light (specular reflection) Types of lighting (light type): Ambient Light (environmental light) Point Light (point source) Directional Light (direct light)