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!
(excuse my bad english):-)
Posted on 2002-02-17 03:56:49 by D-|HacKeR
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

Posted on 2002-02-17 14:58:55 by _hC_
Yeah it works without the stencil buffer

Thanx Bye!
Posted on 2002-02-19 04:32:13 by D-|HacKeR