GLenum pname, GLfloat param )void glTexEnvi( GLenum target,
GLenum pname, GLint param )
GLenum pname, const GLfloat *params )void glTexEnviv( GLenum target,
GLenum pname, const GLint *params )
Base internal | Texture functions | |||
GL_MODULATE | GL_DECAL | GL_BLEND | GL_REPLACE | |
GL_ALPHA | $C sub v ~=~ C sub f$ | undefined | $C sub v ~=~ C sub f$ | $C sub v ~=~ C sub f$ |
$A sub v ~=~ A sub f A sub t$ | $A sub v ~=~ A sub f$ | $A sub v ~=~ A sub t$ | ||
GL_LUMINANCE | $C sub v ~=~ L sub t C sub f$ | undefined | $C sub v ~=~ ( 1 - L sub t ) C sub f$ | $C sub v ~=~ L sub t$ |
$+ L sub t C sub c$ | ||||
1 | $A sub v ~=~ A sub f$ | $A sub v ~=~ A sub f$ | $A sub v ~=~ A sub f$ | |
GL_LUMINANCE | $C sub v ~=~ L sub t C sub f$ | undefined | $C sub v ~=~ ( 1 - L sub t ) C sub f $ | $C sub v ~=~ L sub t$ |
\f3_ALPHA | $+ L sub t C sub c$ | |||
2 | $A sub v ~=~ A sub t A sub f$ | $A sub v ~=~ A sub t A sub f$ | $A sub v ~=~ A sub t$ | |
GL_INTENSITY | $C sub v ~=~ C sub f I sub t$ | undefined | $C sub v ~=~ ( 1 - I sub t ) C sub f$ | $C sub v ~=~ I sub t$ |
$+ I sub t C sub c$ | ||||
c | $A sub v ~=~ A sub f I sub t$ | $A sub v ~=~ ( 1 - I sub t ) A sub f $ | $A sub v ~=~ I sub t$ | |
$+ I sub t A sub c$ | ||||
GL_RGB | $C sub v ~=~ C sub t C sub f$ | $C sub v ~=~ C sub t$ | $C sub v ~=~ (1 - C sub t) C sub f $ | $C sub v ~=~ C sub t$ |
$+ C sub t C sub c$ | ||||
3 | $A sub v ~=~ A sub f$ | $A sub v ~=~ A sub f$ | $A sub v ~=~ A sub f$ | $A sub v ~=~ A sub f$ |
GL_RGBA | $C sub v ~=~ C sub t C sub f$ | $C sub v ~=~ ( 1 - A sub t ) C sub f $ | $C sub v ~=~ (1 - C sub t) C sub f $ | $C sub v ~=~ C sub t$ |
$+ A sub t C sub t$ | $+ C sub t C sub c$ | |||
4 | $A sub v ~=~ A sub t A sub f$ | $A sub v ~=~ A sub f$ | $A sub v ~=~ A sub t A sub f$ | $A sub v ~=~ A sub t$ |