Hey Guys,
I’m doing OpenGL for a few months now. I have a problem with texture bindung and I’m totally confused about alpha blending / testing right now.
My problem is the following:
I create a GL_QUAD Object and put a texture on it. The texture is a 32bit tga with alpha channel. I can change the color of the GL_QUAD Object with glColor3f to every Color I like and the alpha channel of the texture works fine. Behind the GL_QUAD there is a video running, so the GL_QUAD should be 100% invisible - only the texture shall be visible, and not the quad on which the texture is put on. How do I achieve this?
If I change glColor3f to (0.0, 0.0, 0.0, 0.0) the Alpha value is set to GL_QUAD and the Texture on it and so QUAD and Texture vanish.
Anyone can help me out?
Thanks,
Tom