View Full Version : I want add light and shadow to triangle.

05-15-2012, 08:21 PM
I use GLUT to create two triangles. I want to give it dimension. With light and depth to it.
I try to Google it to find something that will be used to the Code, I have it but they glutSolidSphere, glutSolidTeapot etc.
Below code. I don't no to modifly below code how have give light and shadow.


Thank you ...