On Aug 20, 7:39=A0am, Flark <flark...@[EMAIL PROTECTED]
> wrote:
> On Aug 19, 6:07=A0pm, fungus <openglMYSO...@[EMAIL PROTECTED]
> wrote:
>
> > Not enough info there. What values are you passing?
>
> I take the 32 bit RGB value, chop it into 3 bytes for R, G, & B,
> and pass those. Not good?
I tried this, and the object is still white:
float mc[4] =3D { 1.0, 0.0, 0.0, 1.0 };
glMaterialfv (GL_FRONT, GL_AMBIENT_AND_DIFFUSE, mc);


|