comparison of gouraud and phong shadingphong


Comparison of Gouraud and Phong Shading

Phong shading requires more calculations, but produces better results for specular reflection than Gouraud shading in the form of more realistic highlights. Consider the specular reflection term in Eq. (3.4) :

cosn (s)

If n is large (the surface is a good smooth reflector) and one vertex has a very small value of s (it is reflecting the light ray in the direction of the observer) whilst the rest of the vertices have large values of s - a highlight occurs somewhere on our polygon. With Gouraud shading, nowhere on the polygon can have a brighter colour (i.e. higher value) than a vertex so unless the highlight occurs on or near a vertex, it will be missed out altogether. When it is near a vertex, its effect is spread over the whole polygon. With Phong shading however, an internal point may indeed have a higher value than a vertex and the highlight will occur tightly focused in the (approximately) correct position.

 

 

Request for Solution File

Ask an Expert for Answer!!
Computer Engineering: comparison of gouraud and phong shadingphong
Reference No:- TGS0326690

Expected delivery within 24 Hours