Name

FogVertexMode - 3D API fog vertex mode

Usage

FogVertexMode = int(mode)

Valid Enumerants

mode: None, Exp, Exp2, Linear

Description

Specify whether to use the fog coordinate or fragment depth as distance value in the fog computation.

See the GL_FOG_COORDINATE_SOURCE description on the OpenGL glFog manual page for details. See the D3DRS_FOGVERTEXMODE render state description for DirectX 9.

The standard reset callback sets the FogVertexMode state to int(GL_FRAGMENT_DEPTH_EXT).

Opengl Functionality Requirements

OpenGL 1.4 or support for extension EXT_fog_coord.

Direct3D Functionality Requirements

DirectX 9

See Also

FogColor, FogCoordSrc, FogDensity, FogDistanceMode, FogEnable, FogEnd, FogMode, FogStart, FogTableMode, RangeFogEnable