I want add light and shadow to triangle.

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 …