Another confusing situation!!
I’ve used GLUT library in my program to draw spheres and cones and I also have some lights in space. Funny part is that, the objects drawn by GLUT are affected by light and the polygons that I’ve drawn are not!! My polygons are rendered flat with no highlights.
What could be the problem, since all the objects are drawn in the same situation (they are few lines apart)?
Thanks,