DirectX SDK |
The D3DCOLORVALUE type describes color values for the D3DLIGHT7 and D3DMATERIAL7 types.
Type D3DCOLORVALUE a As Single b As Single g As Single r As Single End Type
You can set the members of this type to values outside the range of 0 to 1 to implement some unusual effects. Values greater than 1 produce strong lights that tend to wash out a scene. Negative values produce dark lights, which actually remove light from a scene. For more information, see Colored Lights.