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

> ## Name

> FogColor - 3D API fog color

> ## Usage

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

> ## Valid Enumerants

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

> ## Description

> Specify the fog color. See the GL_FOG_COLOR description on the OpenGL glFog manual page for details. See the D3DRS_FOGCOLOR render state description for DirectX 9.

> The standard reset callback sets the FogColor state to float4(0, 0, 0, 0).

> ## Opengl Functionality Requirements

> OpenGL 1.0

> ## Direct3D Functionality Requirements

> DirectX 9

> ## See Also

> FogCoordSrc, FogDensity, FogDistanceMode, FogEnable, FogEnd, FogMode, FogStart, FogTableMode, FogVertexMode, RangeFogEnable