jono_123
05-04-2002, 03:05 PM
i draw to the screen a textured cube and then enable blending and make sure depth testing is disabled then wrote :
glColor4f(0.5,0.5,0.5,0.5);
glBegin(GL_QUADS);
//front
...(stuff that draws the front face)
//back
...
//top
...
//bottem
...
//left
...
//right
glEnd();
and it draws the cube with the texture on it and it is blended but when i rotate it so that another face is facing me, sometimes it looks more transperent or less depending on which face im viewing
can anyone help?
glColor4f(0.5,0.5,0.5,0.5);
glBegin(GL_QUADS);
//front
...(stuff that draws the front face)
//back
...
//top
...
//bottem
...
//left
...
//right
glEnd();
and it draws the cube with the texture on it and it is blended but when i rotate it so that another face is facing me, sometimes it looks more transperent or less depending on which face im viewing
can anyone help?