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

> ## Name

> LightModelAmbient - 3D API light model ambient

> ## Usage

> LightModelAmbient = float4(r, g, b, a)

> ## Valid Enumerants

> r, g, b, a: floating point values

> ## Description

> Specify the ambient intensity of the entire scene. See the GL_LIGHT_MODEL_AMBIENT description on the OpenGL glLightModel manual page for details. See the D3DRS_AMBIENT render state description for DirectX 9.

> The standard reset callback sets the LightModelAmbient state to float4(0.2, 0.2, 0.2, 1.0).

> ## Opengl Functionality Requirements

> OpenGL 1.0

> ## Direct3D Functionality Requirements

> DirectX 9

> ## See Also

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