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

> ## Name

> FogEnable - 3D API fog enable

> ## Usage

> FogEnable = bool(enable)

> ## Valid Enumerants

> enable: true, false

> ## Description

> Enable/disable fogging. See the GL_FOG description on the OpenGL glEnable manual page for details. See the D3DRS_FOGENABLE render state description for DirectX 9.

> The standard reset callback sets the FogEnable state to bool(false).

> ## Opengl Functionality Requirements

> OpenGL 1.0

> ## Direct3D Functionality Requirements

> DirectX 9

> ## See Also

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