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 O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.