Hi all,
How to get lighting effect with the colors that I used to draw the objects. That is I have a cube with diferent colors for each surface. But When I use lighting effect. I get all in white-black-grey combination. I used white light( {1.0,1.0,1.0,1.0}). I tried some of the examples from the net. But didn't help. Can anybody help me. So that I get the surfaces lit with its own colors.