nbasili
10-01-2000, 03:27 PM
HI,
When I draw an object with a texture attached to it (GL_RGB8) and I make it transparent by modulating the texture with an alpha color e.g. glColor4f(1,1,1,0.5);
the object gets transparent only when I have disabled GL_LIGHTING. When I turn on lights the objects becomes opaque.
Does anyone have any idea why this happens?
When I draw an object with a texture attached to it (GL_RGB8) and I make it transparent by modulating the texture with an alpha color e.g. glColor4f(1,1,1,0.5);
the object gets transparent only when I have disabled GL_LIGHTING. When I turn on lights the objects becomes opaque.
Does anyone have any idea why this happens?