![]() |
Phong shading is a more accurate interpolation-based approach that can be used for rendering a polygon. It was developed by Phong Bui Tuong.It improves upon the Gourand Shading and provides a better approximation of the shading of any smooth surface. It interpolates the normal vector instead of the intensity values. Surface rendering is done with the help of Phong shading in the following manner:
So, for n polygons => summation of Ni/ | summation of Ni | (where i is initialized from 1 to N)
![]() Interpolation of the surface normal
Advantages:
Disadvantages:
|
Reffered: https://www.geeksforgeeks.org
Computer Graphics |
Type: | Geek |
Category: | Coding |
Sub Category: | Tutorial |
Uploaded by: | Admin |
Views: | 12 |