Texture Environment

Textures provide color information, but so does glColor or lighting.

The texture environment controls how these colors interact.


A "GL_REPLACE" environment uses just the texture color, and ignores everything else.

A "GL_MODULATE" environment combines the texture and other color, multiplying them together.

Example: texenv.py