
Hybrid Shadows Sample
This sample shows a way to combine traditional rasterized shadows with raytracing to create fast high quality shadows.
Get the latest version - v1.0
This release adds the following:
- Just released!
Features
This sample showcases the following Hybrid Shadows functionality:
- Configurable shadow cascades.
- Ray traced shadows.
- Hybrid shadows.
- Rejecting lit pixels.
- Rejecting shadowed pixels.
- Ray interval reduction.
- FidelityFX Shadow Denoiser.

AMD FidelityFX – Denoiser
AMD FidelityFX Denoiser is a set of denoising compute shaders which remove artefacts from reflection and shadow rendering.
Image comparison


Debug view
The left side shows an overlay where the tiles that have any ray tracing in them are written out with pure red and green.
![]() | A pixel (part of a tile) that needs ray tracing, but will not fire a ray. |
![]() | A pixel that will fire a ray. |
The right side shows the shadow map.


Requirements
- A graphics card with Direct3D® 12 and DXR 1.1 support.
- Windows® 10 (64-bit recommended).
- Visual Studio® 2019 with Visual C++® and the Windows® 10 SDK installed.
Related to Hybrid Shadows

Cauldron Framework
Radeon™ Cauldron is our open source experimentation framework for DirectX®12 and Vulkan®.

AMD FidelityFX – Denoiser
AMD FidelityFX Denoiser is a set of denoising compute shaders which remove artefacts from reflection and shadow rendering.

Microsoft® Game Stack Live: Denoising Raytraced Soft Shadows on Xbox Series X|S and Windows with FidelityFX
We explain how FidelityFX Denoiser allows for high-quality raytracing results without increasing rays per pixel, and deep dive into specific AMD RDNA™ 2-based optimizations that benefit both Xbox Series X|S and PC.