Shadows

In this chapter, we will cover the following recipes:

  • Rendering shadows with shadow maps
  • Anti-aliasing shadow edges with PCF
  • Creating soft shadow edges with random sampling
  • Creating shadows using shadow volumes and the geometry shader

Get OpenGL 4 Shading Language Cookbook - Third Edition 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.