PDA

View Full Version : Why does the Lighting makes object B&



KC
10-27-2000, 08:20 AM
HI!

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?

thanks

10-27-2000, 10:39 AM
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