glFogf, glFogi, glFogfv, glFogiv - specify fog parameters
GLfloat param )void glFogi( GLenum pname,
GLint param )
const GLfloat *params )void glFogiv( GLenum pname,
const GLint *params )
The equation for GL_EXP fog is
The equation for GL_EXP2 fog is
Regardless of the fog mode, $f$ is clamped to the range [0, 1] after it is computed. Then, if the GL is in RGBA color mode, the fragment's red, green, and blue colors, represented by $C sub r$, are replaced by
Fog does not affect a fragment's alpha component. In color index mode, the fragment's color index $i sub r$ is replaced by
Закладки на сайте Проследить за страницей |
Created 1996-2024 by Maxim Chirkov Добавить, Поддержать, Вебмастеру |