When I use glColor3f to change the colour, it works fine with lighting disabled but as soon as lighting is enabled I just get white polygons. Is this supposed to happen or am I doing something wrong? I want to have lit polygons but would like just to be able to specify the colours of the vertices and have them smooth shaded - how do I do this?
use glMaterial instead
or enable glColorEnable(GL_COLOR_MATERIAL)
use the latter ONLY if you need to change material proporties a lot+