Specular lighting allows us to add bright highlights or reflections on the surface of a model. This way rendered geometry looks shinier and more glossy.
An example of an image generated with this recipe looks like the following:
Specular lighting allows us to add bright highlights or reflections on the surface of a model. This way rendered geometry looks shinier and more glossy.
An example of an image generated with this recipe looks like the following:
The most commonly used algorithm describing the way surfaces are lit is a Blinn-Phong model. It is an empirical model, which isn't physically correct but gives results that are more plausible in situations where rendered geometry is simplified. So it is well suited for 3D real-time graphics.
The Blinn-Phong model describes light leaving a given surface as a sum of four components: