LightModelColorControl.3CgFX

Langue: en

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

Section: 3 (Bibliothèques de fonctions)

NAME

LightModelColorControl - 3D API light model color control

USAGE

LightModelColorControl = int(control)

VALID ENUMERANTS

control: SingleColor, SeparateSpecular

DESCRIPTION

Specify whether a separate specular color is generated during the lighting computations. See the GL_LIGHT_MODEL_COLOR_CONTROL description on the OpenGL glLightModel manual page for details.

The standard reset callback sets the LightModelColorControl state to int(SingleColor).

OPENGL FUNCTIONALITY REQUIREMENTS

OpenGL 1.2 or support for extension EXT_separate_specular_color.

DIRECT3D FUNCTIONALITY REQUIREMENTS

Not applicable.

SEE ALSO

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