PDA

View Full Version : Problem with GL_SRC_ALPHA in texture_env_combine



stephanh
04-06-2004, 11:40 PM
Hi,

i have a problem using an textures alpha value as a mask for rendering a terrain chunk. GL seems to ignore the texture and uses vertex alpha instead. Although texture targets are enabled. I cannot see anything wrong in the tex_env_combine setup.

No gl errors are reported. The setup is here: http://www.eisscholle.de/TextureMask.cpp
The masks texture format is GL_ALPHA and GL_ALPHA8 internally.

Thank you very much for any hints.

regards,
Stephan