Create the image of a shaded sphere in a fragment shader, using a partial implementation of the Phong algorithm.
|
In this variant of the code, I show a partial implementation of the Phong reflectance algorithm. Specular reflection remains unimplemented. |
---|