In this program LIGHTING has been enabled and the material properties have been set.
A glutSolidSphere() has been drawn eight times each time the SHININESS component has been increased by 16.
Snapshot:
Here is the source.
A glutSolidSphere() has been drawn eight times each time the SHININESS component has been increased by 16.
Snapshot:
Here is the source.
No comments:
Post a Comment