Quote:It's not true that glTexEnvi specifies how your textures are combined with colors in the frame buffer - it would be blending and glBlendFunc and glEnable/Disable(GL_BLEND).
is relevant and would be used.
Quote:It's not true that glTexEnvi specifies how your textures are combined with colors in the frame buffer - it would be blending and glBlendFunc and glEnable/Disable(GL_BLEND).
Quote:Tex env specifies how during particular pass color's from different sources(textures,diffuse,specular etc) are mixed withing texture units
Quote:just send the function DECAL to go back to normal?
Quote:taken from Opengl Game Programming
The default value for glTexEnvi() is GL_MODULATE
Quote:im guessing once you call the function, any primitives drawn after that will follow the rules the function called, untill i call the function again with different parameters
Quote:cuz the docs that ive found show no where to specify the texture