Chapter 15

Specular Reflection

image

Objectives

By the end of this chapter, you should:

  • understand how glossy specular reflection is modeled in direct illumination;
  • have implemented a material that includes glossy specular reflection;
  • understand the difference between viewer-dependent and viewer-independent shading.

We can make materials look shiny by allowing them to reflect light that’s concentrated around the direction of mirror-reflection. This glossy specular reflection results in specular highlights on surfaces, which are the smeared-out reflections of light sources. In fact, this is the only way we can make point and directional lights visible. ...

Get Ray Tracing from the Ground Up now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.