Kern, RenéBrüll, FelixGrosch, ThorstenHaines, EricGarces, Elena2024-06-252024-06-252024978-3-03868-262-21727-3463https://doi.org/10.2312/sr.20241158https://diglib.eg.org/handle/10.2312/sr20241158Accurate shadows greatly enhance the realism of a rendered image. Shadow mapping is the preferred solution for shadows in real-time applications. However, shadow maps suffer from discretization errors and self-shadowing artifacts, that need custom parameter tuning per scene. Filterable shadow maps such as variance or moment shadow maps solve both issues but introduce light leaking. With the advent of hardware ray tracing, it becomes more realistic to use shadow rays instead of a shadow map. However, distributing a shadow ray is often more expensive than evaluating a shadow map, especially if the ray hits alphatested geometry. We introduce leak tracing, where we use filterable shadow maps techniques on top of default shadow maps and eliminate the light leaks and aliased shadow edges with selective ray tracing. Our algorithm does not need any scene-dependent parameters. We achieve an average speedup ranging from 1.19 to 1.79, with a top speedup of 4.17, depending on the scene and eliminate major performance drops caused by alpha-tested geometry during ray tracing. Our solution is temporally stable and reaches similar quality as pure ray tracing.Attribution 4.0 International LicenseCCS Concepts: Computing methodologies -> Ray tracing; Rasterization; VisibilityCCS ConceptsComputing methodologies> Ray tracingRasterizationVisibilityReal-Time Pixel-Perfect Hard Shadows with Leak Tracing10.2312/sr.2024115810 pages