2081 4

BIT304 ยท 2081 ยท 5 marks

Write procedure to render the polygon surface by using Phong shading model.

Write procedure to render the polygon surface by using Phong shading model. [5]

Computer GraphicsChapter 9: Illumination and Shading ModelsPhong shading algorithm and procedure

Phong shading is an interpolation-based shading technique that calculates surface color at each pixel by interpolating normal vectors across the polygon surface and applying the Phong illumination model at each point. - Compute the surface normal at each vertex of the polygon - For a polygon with...