September 2018
Intermediate to advanced
472 pages
15h 36m
English
The following screenshot shows the teapot rendered using the Blinn-Phong model (right), versus the same rendering using the equation provided in the Implementing the Phong reflection model recipe in Chapter 3, The Basics of GLSL Shaders (left). The halfway vector produces a larger specular highlight. If desired, we could compensate for the difference in the size of the specular highlight by increasing the value of the exponent Material.Shininess:

Read now
Unlock full access