Microsoft DirectX 8.0 (Visual Basic)

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 type for Microsoft Visual Basic® 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.

Light properties affect how a light source illuminates objects in a scene.

For more information, see Using Lights, Setting Light Properties, and Mathematics of Direct3D Lighting.