Why does the Lighting makes object B&


I enabled lighting and tried both from a direct and point source. THe object that I’m rendering then lost its color and became black and white. Is there any reason for this? Am I missing something?


a. did you set material colors with glMaterial…

b. or did you enable glColorMaterial…

c. did you specify normals?

a and c or b and c are necessary