LightQuadraticAttenuation.3CgFX

Langue: en

Version: Cg Toolkit 3.0 (ubuntu - 24/10/10)

Section: 3 (Bibliothèques de fonctions)

NAME

LightQuadraticAttenuation - 3D API light quadratic attenuation

USAGE

LightQuadraticAttenuation[i] = float(quadratic_attenuation)

VALID ENUMERANTS

quadratic_attenuation:

DESCRIPTION

Specify the quadric light attenuation factor. See the GL_QUADRATIC_ATTENUATION description on the OpenGL glLight manual page for details. See the Attenuation2 member of the D3DLIGHT9 argument to IDirect3DDevice9::SetLight method.

The standard reset callback sets the LightQuadraticAttenuation[i] state to float(0).

OPENGL FUNCTIONALITY REQUIREMENTS

OpenGL 1.0

DIRECT3D FUNCTIONALITY REQUIREMENTS

DirectX 9

SEE ALSO

LightAmbient, LightAttenuation0, LightAttenuation1, LightAttenuation2, LightConstantAttenuation, LightDiffuse, LightDirection, LightEnable, LightFalloff, LightLinearAttenuation, LightModelAmbient, LightModelColorControl, LightModelLocalViewerEnable, LightModelTwoSideEnable, LightPhi, LightPosition, LightRange, LightSpecular, LightSpotCutoff, LightSpotDirection, LightSpotExponent, LightTheta, LightType, LightingEnable