I have a problem with lightning. I read the nehe tutorial7 but in this tutorial nehe uses textures but i only want a object with some colour. So i taked a square. I took the values for Ambient and Diffuse GLfloat followed
LightAmbient[]= { 1.0f, 0.0f, 0.0f, 1.0f};
GLfloat LightDiffuse[]= { 1.0f, 1.0f, 1.0f, 1.0f };
IMHO the object must be red. But my object is grey respectively black/white. So my questions must i use glColor3f with my object. I used it but the object always has the color black/white/grey. What made i wrong?