Hybrid Shadows

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.
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®.

Shadow Denoiser

AMD FidelityFX – Denoiser

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

Explore some more...

If slide decks are what you’re after, you’ll find 100+ of our finest presentations here. Plus there’s a handy list of our product manuals!

Developer guides

Browse our developer guides, and find valuable advice on developing with AMD hardware, ray tracing, Vulkan, DirectX, UE4, and lots more.

Browse all our useful samples. Perfect for when you’re needing to get started, want to integrate one of our libraries, and much more.

The home of great performance and optimization advice for AMD RDNA™ 2 GPUs, AMD Ryzen™ CPUs, and so much more.

Product Blogs

Our handy product blogs will help you make good use of our tools, SDKs, and effects, as well as sharing the latest features with new releases.

Publications

Discover our published publications.