Microsoft DirectX 8.1 (C++)

Light Properties

Light properties describe a light source's type and color. Depending on the type of light being used, a light can have properties for attenuation and range, or for spotlight effects. But, not all types of lights use all properties. Microsoft® Direct3D® uses the D3DLIGHT8 structure to carry information about light properties for all types of light sources. This section contains information for all light properties. Information is divided into the following groups.