Skip to main content

Introducing new learning courses and educational videos from Apress. Start watching

  • Book
  • Open Access
  • © 2021

Ray Tracing Gems II

Next Generation Real-Time Rendering with DXR, Vulkan, and OptiX

  • Explore the capabilities of the latest graphics hardware and APIs

  • Review a comprehensive collection of ideas, tips, and best practices for real-time ray tracing applications

  • Learn about real-time ray tracing, hybrid rendering, denoising & filtering, global illumination, and more

  • With advice from graphics experts at NVIDIA and top game developers in the game industry

Buying options

Softcover Book USD 49.99
Price excludes VAT (USA)
Hardcover Book USD 59.99
Price excludes VAT (USA)

Table of contents (50 chapters)

  1. APIs and Tools

    1. WebRays: Ray Tracing on the Web

      • Nick Vitsas, Anastasios Gkaravelis, Andreas A. Vasilakis, Georgios Papaioannou
      Pages 281-299
    2. Visualizing and Communicating Errors in Rendered Images

      • Pontus Andersson, Jim Nilsson, Tomas Akenine-Möller
      Pages 301-320
  2. Sampling

    1. Front Matter

      Pages 322-326
    2. Multiple Importance Sampling 101

      • Anders Lindqvist
      Pages 327-337
    3. Rendering Many Lights with Grid-Based Reservoirs

      • Jakub Boksansky, Paula Jukarainen, Chris Wyman
      Pages 351-365
  3. Shading And Effects

    1. Front Matter

      Pages 396-400
    2. Temporally Reliable Motion Vectors for Better Use of Temporal Information

      • Zheng Zeng, Shiqiu Liu, Jinglei Yang, Lu Wang, Ling-Qi Yan
      Pages 401-416
    3. Ray Tracing Decals

      • Wessam Bahnassi
      Pages 427-440
    4. Billboard Ray Tracing for Impostors and Volumetric Effects

      • Felix Brüll, Robin Fynn Diedrichs, Thorsten Grosch
      Pages 441-456
    5. Hybrid Ray Traced and Image-Space Refractions

      • Daniel Parhizgar, Marcus Svensson
      Pages 457-467
    6. Real-Time Ray Traced Caustics

      • Xueqing Yang, Yaobin Ouyang
      Pages 469-497
    7. Tilt-Shift Rendering Using a Thin Lens Model

      • Andrew Kensler
      Pages 499-513
  4. Intersection

    1. Front Matter

      Pages 514-518
    2. Fast and Robust Ray/OBB Intersection Using the Lorentz Transformation

      • Rodolfo Sabino, Creto Augusto Vidal, Joaquim Bento Cavalcante-Neto, José Gilvan Rodrigues Maia
      Pages 519-528
    3. Real-Time Rendering of Complex Fractals

      • Vinícius da Silva, Tiago Novello, Hélio Lopes, Luiz Velho
      Pages 529-544

About this book

This Open Access book is a must-have for anyone interested in real-time rendering. Ray tracing is the holy grail of gaming graphics, simulating the physical behavior of light to bring real-time, cinematic-quality rendering to even the most visually intense games. Ray tracing is also a fundamental algorithm used for architecture applications, visualization, sound simulation, deep learning, and more.

Ray Tracing Gems II is written by industry experts with a particular focus on ray tracing, and it offers a practical means to master the new capabilities of current and future GPUs with the latest graphics APIs.

What You'll Learn:
  • The latest ray tracing techniques for developing real-time applications in multiple domains
  • Case studies from developers and studios who have shipped products that use real-time ray tracing.
  • Guidance, advice and best practices for rendering applications with various GPU-based ray tracing APIs (DirectX Raytracing, Vulkan Ray Tracing)
  • High performance graphics for 3D graphics, virtual reality, animation, and more

Who This Book Is For:
Game and graphics developers who are looking to leverage the latest hardware and software tools for real-time rendering and ray tracing to enhance their applications across a variety of disciplines.


  • Computer Graphics
  • Real-Time Rendering
  • Ray Tracing
  • Path Tracing
  • GPU
  • DirectX Raytracing
  • Vulkan Ray Tracing
  • BVH and Acceleration Structures
  • Rasterization
  • Game development
  • Open Access

Editors and Affiliations

  • Apex, USA

    Adam Marrs

  • Salt Lake City, USA

    Peter Shirley, Ingo Wald

About the editors

Adam Marrs is a Senior Graphics Engineer in the Game Engines and Core Technology group at NVIDIA. He holds a PhD in computer science, has conducted graphics research in academia and industry, published at HPG, Eurographics, JCGT, and wrote for the GPU Zen 2 and Ray Tracing Gems books. He has shipped graphics code in AAA game titles and commercial game engines.

Peter Shirley is a Distinguished Engineer in the Research group at NVIDIA. He holds a PhD in computer science and has worked in academics, startup companies, and industry. He is the author of several books including the recent Ray Tracing in One Weekend series.

Ingo Wald is a Director, Ray Tracing, at NVIDIA. He holds a PhD in computer science, has a long history of ray tracing related research in both academia and industry, and is probably best known for authoring and co-authoring various papers and open-source software project related to rendering, visualization, data structures, and other topics that in one or another form usually involve ray tracing.

Bibliographic Information

  • Book Title: Ray Tracing Gems II

  • Book Subtitle: Next Generation Real-Time Rendering with DXR, Vulkan, and OptiX

  • Editors: Adam Marrs, Peter Shirley, Ingo Wald

  • DOI:

  • Publisher: Apress Berkeley, CA

  • eBook Packages: Professional and Applied Computing, Professional and Applied Computing (R0), Apress Access Books

  • Copyright Information: NVIDIA 2021

  • License: CC BY-NC-ND

  • Hardcover ISBN: 978-1-4842-7184-1Published: 26 August 2021

  • Softcover ISBN: 978-1-4842-7187-2Published: 23 August 2021

  • eBook ISBN: 978-1-4842-7185-8Published: 04 August 2021

  • Edition Number: 1

  • Number of Pages: LVI, 858

  • Number of Illustrations: 876 illustrations in colour

  • Topics: Computer Graphics, Game Development

Buying options

Softcover Book USD 49.99
Price excludes VAT (USA)
Hardcover Book USD 59.99
Price excludes VAT (USA)