Rechercher une page de manuel
FogVertexMode.3CgFX
Langue: en
Version: Cg Toolkit 3.0 (ubuntu - 24/10/10)
Section: 3 (Bibliothèques de fonctions)
Sommaire
NAME
FogVertexMode - 3D API fog vertex modeUSAGE
FogVertexMode = int(mode)VALID ENUMERANTS
mode: None, Exp, Exp2, LinearDESCRIPTION
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 9SEE ALSO
FogColor, FogCoordSrc, FogDensity, FogDistanceMode, FogEnable, FogEnd, FogMode, FogStart, FogTableMode, RangeFogEnableContenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre