Admin Production ni-theme
Current Publication

OGLATTR_LIGHT_SPOT_EXPONENT

LabWindows/CVI

OGLATTR_LIGHT_SPOT_EXPONENT

Data Type: integer
Access:read/write
Functions:OGLGetCtrlAttribute
OGLSetCtrlAttribute
Description: Effective light intensity is attenuated by the cosine of the angle between the direction of the light and the direction from the light to the vertex being lighted, raised to the power of the spot exponent. Thus, higher spot exponents result in a more focused light source, regardless of the spot cutoff angle. The default value is 0 resulting in a uniform light distribution.
Valid Range = 0 to OGL_MAX_LIGHT_SPOT_EXPONENT
LabWindows/CVI
Compatibility:
LabWindows/CVI 5.0 and later