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.

You may also like...

GLTFSample Cauldron Sample Project

This sample demonstrates how to use most of Cauldron’s features. It is also a useful reference for getting started with developing your own samples and prototypes.

Some light reading to take away with you. Our ISAs, manuals, whitepapers, and many more.

Explore our huge collection of detailed tutorials, sample code, presentations, and documentation to find your answers to your graphics development questions.

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

Browse all our fantastic tutorials, including programming techniques, performance improvements, guest blogs, and how to use our tools.

Share on facebook
Share on twitter
Share on linkedin
Share on reddit
Share on email