glFogCoordf

glFogCoord: man2/glFogCoord.xml

glFogCoord specifies the fog coordinate that is associated with each vertex and the current raster position. The value specified is interpolated and used in computing the fog color (see glFog ).

glFogCoord is available only if the GL version is 1.4 or greater. The current fog coordinate can be updated at any time. In particular, glFogCoord can be called between a call to glBegin and the corresponding call to glEnd.

@OpenGL_Version(OGLIntroducedIn.V1P4)
fn_glFogCoordf glFogCoordf;

See Also

glFog, glFogCoordPointer, glVertex

Meta