I have loaded an object, and when I draw the object, I set the color to green.. After drawing the object, I draw lines in red.
It all worked out fine. The problem arise when I input lighting properties. When I create a light source, everything where the light projects becomes white. Why does the lighting over writes my color? And how do I solve this problem?
Thanks in advance..