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

> ## Name

> FogDistanceMode - 3D API fog distance mode

> ## Usage

> FogDistanceMode = int(mode)

> ## Valid Enumerants

> mode: EyeRadial, EyePlane, EyePlaneAbsolute

> ## Description

> Specify how OpenGL computes the distance used when computing the fog factor. See the GL_FOG_DISTANCE_MODE_NV description the OpenGL OpenGL NV_fog_distance specification for details.

> The standard reset callback sets the FogDistanceMode state to int(EyePlaneAbsolute).

> ## Opengl Functionality Requirements

> Support for extension NV_fog_distance.

> ## Direct3D Functionality Requirements

> Not applicable.

> ## See Also

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