Hi,
I'm using this to set my material's colors:
glMaterialiv (GL_FRONT, GL_AMBIENT_AND_DIFFUSE,
color);
glMaterialiv (GL_FRONT, GL_SPECULAR, spec);
glMaterialiv (GL_FRONT, GL_EMISSION, emiss);
glMaterialf (GL_FRONT, GL_****NINESS, ****ny);
However I am finding that my object is always white.
And glColor3iv always set the object to black.
I am also doing this:
glEnable(GL_COLOR_MATERIAL);
Anybody know what could be causing the
white/black object problem?
Thanks.


|