LightModelColorControl
Keywords: LightModelColorControl, NVIDIA, NVIDIA Cg Toolkit, Cg Toolkit, Shader, Shader Programming, GPU Shader Programming, GPU Program

> ## 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