Been struggling with this the past hour, so need some help. I'm trying to light my screen with objects that already have set color values glColor3f... I've included the glColorMaterial and its enable within my lighting function however, it lights the scene with the last set color which is red even after I've told it to clear. Once you take out the object that is drawing in red it loses all depth on the objects still present.
I've put the coding for just the light function below, though if anyone wants to see more just ask.