AMD FidelityFX Hybrid Shadows

This sample shows a way to combine traditional rasterized shadows with raytracing to create fast high quality shadows.

Supports:

  • DirectX®12
  • Vulkan®

Download the latest version v1.0:

This release adds the following features:

  • 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.
  • AMD FidelityFX Shadow Denoiser.
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

Radeon™ Cauldron Framework

Radeon Cauldron is our open-source experimentation framework for DirectX®12 and Vulkan®, provided in the AMD FidelityFX SDK.

Shadow Denoiser

AMD FidelityFX™ Denoiser

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

All part of the FidelityFX SDK!

AMD FidelityFX SDK

AMD FidelityFX™ SDK

The AMD FidelityFX SDK is our easy-to-integrate solution for developers looking to include FidelityFX features into their games.

Don't miss our other effects

An image of a toy train blurring into the background

AMD FidelityFX™ Blur

AMD FidelityFX Blur is an AMD RDNA™ architecture optimized collection of blur kernels from 3×3 up to 21×21.

Shadow Denoiser

AMD FidelityFX™ Denoiser

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

FidelityFX Lens - bar room

AMD FidelityFX™ Lens

AMD FidelityFX Lens is an AMD RDNA™ architecture optimized implementation of some of gaming’s most used post-processing effects.

AMD FidelityFX Parallel Sort

AMD FidelityFX™ Parallel Sort

AMD FidelityFX Parallel Sort makes sorting data on the GPU quicker, and easier. Use our SM6.0 compute shaders to get your data in order.

Radeon™ Cauldron Framework

Radeon Cauldron is our open-source experimentation framework for DirectX®12 and Vulkan®, provided in the AMD FidelityFX SDK.

TressFX

The TressFX library is AMD’s hair/fur rendering and simulation technology. TressFX is designed to use the GPU to simulate and render high-quality, realistic hair and fur.