HP b2600 Reference Manual page 429

Opengl 1.1 reference
Hide thumbs Also See for b2600:
Table of Contents

Advertisement

Base Internal Format
GL_RGB
3
GL_RGBA
4
If pname is GL_TEXTURE_ENV_COLOR, params is a pointer to an array that holds an
RGBA color consisting of four values. Integer color components are interpreted linearly
such that the most positive integer maps to 1.0, and the most negative integer maps to
-1.0. The values are clamped to the range [0, 1] when they are specified. C
four values.
GL_TEXTURE_ENV_MODE defaults to GL_MODULATE and
GL_TEXTURE_ENV_COLOR defaults to (0, 0, 0, 0). GL_TEXTURE_LIGHTING_hp
defaults to GL_TEXTURE_POST_SPECULAR_hp.
Notes
GL_REPLACE may only be used if the GL version is 1.1 or greater.
GL_TEXTURE_LIGHTING_MODE_hp may only be used if the GL_hp_texture_lighting
extension is supported.
Internal formats other than 1, 2, 3, or 4 may only be used if the GL version is 1.1 or
greater.
Errors
Associated Gets
glGetTexEnv
See Also
glCopyPixels,
glCopyTexImage1D,
glCopyTexImage2D,
glCopyTexSubImage1D,
Chapter 18
GL_MODULATE
C
= C
C
v
t
f
A
= A
v
f
C
= C
C
v
t
f
A
= A
A
v
t
f
GL_INVALID_ENUM is generated when target or pname is not one of the accepted
defined values, or when params should have a defined constant value (based on the
value of pname) and does not.
GL_INVALID_OPERATION is generated if glTexEnv is executed between the
execution of glBegin and the corresponding execution of glEnd.
Texture Functions
GL_DECAL
GL_BLEND
C
= C
C
= (1 - C
v
t
v
A
= A
C
+ C
v
f
f
t
A
= A
v
f
C
= (1 - A
)
C
= (1 - C
v
t
v
C
+At C
C
+ C
f
t
f
t
A
= A
A
= A
v
f
v
t
glTexEnv
GL_REPLACE
)
C
= C
t
v
t
C
A
= A
c
v
f
)
C
= C
t
v
t
C
A
= A
c
v
t
A
f
takes these
c
T
429

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents