O'Reilly logo

Ray Tracing from the Ground Up by Kevin Suffern

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 16

Shadows

image

Objectives

By the end of this chapter, you should:

  • understand why shadows are important in ray tracing;
  • understand the terminology of shadows;
  • understand why it’s important to use t > ε > 0 in all ray-object hit functions;
  • understand why shadows can be expensive to implement;
  • have implemented hard-edged shadows with point and directional lights.

Shadows are everywhere in the real world, both indoors and outdoors. Shadows are also free in the real world, but as you will find out in this chapter, shadows are not free in ray tracing.1 Here, I’ll look at why shadows are important, what they are, why they can be expensive to ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required