Computations with Phong Shading
Computations involved along with Phong Shading:
i) Find out average unit normal vector at each polygon vertex.
ii) Linearly interpolate the vertex normals above the surface of polygon.
iii) Apply illumination model beside each scan line to calculate projected pixel intensities for surface points.