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®

Part of the AMD FidelityFX™ SDK

AMD FidelityFX SDK components

Download the latest version v1.0:

This release adds the following features:

  • Just released!

Download the latest version as part of FidelityFX SDK v1.1​

AMD FidelityFX Hybrid Shadows:

  • Fixed memory leak issue.
  • General cleanup of the shadow classifier.
  • Fix Hybrid Shadows issues on RX 7900 XTX.

Updated as part of AMD FidelityFX SDK v1.1:

  • AMD FidelityFX backend updates, including buffer allocator overrides
  • Updated documentation and release of reference documentation for SDK + Framework
  • Native Microsoft® GDK® backend implementation library (requires developer access to GDK® program)

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

Shadow Denoiser

AMD FidelityFX™ Denoiser

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

Version history

AMD FidelityFX Hybrid Shadows:

  • Fixed memory leak issue.
  • General cleanup of the shadow classifier.
  • Fix Hybrid Shadows issues on RX 7900 XTX.

Updated as part of AMD FidelityFX SDK v1.1:

  • AMD FidelityFX backend updates, including buffer allocator overrides
  • Updated documentation and release of reference documentation for SDK + Framework
  • Native Microsoft® GDK® backend implementation library (requires developer access to GDK® program)

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.

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.