4

Exploring Techniques for Lighting, Shading, and Shadows

Welcome to an exploration of lighting and shading techniques designed to infuse realism into your scenes. In the world of graphics, both lighting and shading play an integral role in enhancing the aesthetic appeal and realism of 3D visuals. This chapter delves into these topics, presenting a spectrum of algorithms ranging from the fundamental to the complex which can add realism to your scenes. In this chapter, we will cover the following recipes:

  • Implementing G-buffer for deferred rendering
  • Implementing screen space reflections
  • Implementing shadow maps for real-time shadows
  • Implementing screen space ambient occlusion
  • Implementing a lighting pass for illuminating the scene

By the end ...

Get The Modern Vulkan Cookbook 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.