hi! I have a problem with squares and colors:
I wanted to draw a cube with different colors at different vertices, but the cube is all black.. Can someone tell me why?
After the bl_begin(GL_QUADS) i specify for each vertex a color with glcolor3(x).
PS: this program uses reflexion (stencil buffer), quadratics, blending, and different kind of texture mapping.. The problem might come from here. I perhaps have to disable something.
Thanks for your help!
Bye!
(excuse my bad english):-)
I wanted to draw a cube with different colors at different vertices, but the cube is all black.. Can someone tell me why?
After the bl_begin(GL_QUADS) i specify for each vertex a color with glcolor3(x).
PS: this program uses reflexion (stencil buffer), quadratics, blending, and different kind of texture mapping.. The problem might come from here. I perhaps have to disable something.
Thanks for your help!
Bye!
(excuse my bad english):-)
calling glColor3(x) before every call to glVertex3(x) is ok
try to disable stencil buffer and texturing, as u allready sayd, the problem might come from there
cant help u much w/o seeing the source code
_hC_
try to disable stencil buffer and texturing, as u allready sayd, the problem might come from there
cant help u much w/o seeing the source code
_hC_
Yeah it works without the stencil buffer
Thanx Bye!
Thanx Bye!