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

> ## Name

> FogDensity - 3D API fog density

> ## Usage

> FogDensity = float(density)

> ## Valid Enumerants

> density: floating point value

> ## Description

> Specify the fog density to use in exponential fog equations. See the GL_FOG_DENSITY description on the OpenGL glFog manual page for details. See the D3DRS_FOGDENSITY render state description for DirectX 9.

> The standard reset callback sets the FogDensity state to float(1).

> ## Opengl Functionality Requirements

> OpenGL 1.0

> ## Direct3D Functionality Requirements

> DirectX 9

> ## See Also

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