AMD FidelityFX™ Stochastic Screen Space Reflections (SSSR) background

AMD FidelityFX™ Stochastic Screen Space Reflections (SSSR)

Create brilliant reflections

High-fidelity reflections in your scene, without costing the earth. AMD FidelityFX™ Stochastic Screen Space Reflections (SSSR) uses your rendered frame to create brilliant reflections. 

Supports:

  • Direct3D® 12
  • Vulkan®

Part of the AMD FidelityFX™ SDK

AMD FidelityFX SDK components

Download the latest version - v1.1.4

This release of the AMD FidelityFX™ SDK adds the following features:

  • Additions to the API and fixes for issues discovered.

Features

State-of-the-art algorithm

Optimized for Shader Model 6.0+

Open source, MIT license

Details

AMD FidelityFX™ SSSR provides an open source library to easily integrate stochastic screen space reflections into your game.

The term “Screen Space Reflections” describes an effect that can create realistic looking reflections purely based on information already present in the rendered image. The underlying algorithm shoots reflection rays from a depth imprint of the rendered scene (a so-called “depth buffer”) and follows them in constant steps through the image until these rays intersect with the depth buffer again. Instead of taking constant-sized steps, AMD FidelityFX SSSR builds on an industry-leading algorithm that searches the rendered image in a hierarchical manner. This allows for larger and fewer steps on average, increasing performance of the search and quality of the final image.

To support glossy reflections, this AMD FidelityFX effect jitters the reflection rays to create the sense of surfaces with varying roughness. However, that approach inherently introduces noise. Thus, AMD FidelityFX SSSR comes with a high quality denoiser specifically optimized for the AMD RDNA™ architecture. The denoiser combines the results from multiple frames to create a noise-free image. Furthermore, it allows the ray count to decrease based on surface roughness, thus further speeding up screen space traversal. 

Library features

  • Hierarchical depth buffer traversal kernel.
  • Confidence based hit validation.
  • Support for Direct3D® 12 API and Vulkan® API.
  • Shaders written in HLSL utilizing SM 6.0 wave-level operations.

Sample application

Comparison

AMD FidelityFX SSSR - off
AMD FidelityFX SSSR - on

How it works

Reflection result processed by AMD FidelityFX™ Denoiser:

Screen Space Reflections

Environment Lookup

Combined Result

Requirements

  • Direct3D® 12
  • Vulkan®

Version history

  • The AMD FidelityFX™ SDK 1.1.4 is a patch release that includes additions to API and fixes for issues discovered with AMD FSR 3.1.0 to 3.1.3.

  • Exposed 4 new tunings to reduce AMD FSR upscaler ghosting in newly disoccludded pixels or highly reactive pixels.

  • Changed the default value of fMinDisocclusionAccumulation to -0.333 (from equivalent of 0.333 in AMD FSR 3.1.3) to reduce disocclusion ghosting.

  • Added ffxQueryGetProviderVersion to get version info from created ffx-api context.

  • Exposed ffxDispatchDescFrameGenerationPrepareCameraInfo as a linked struct. It is a required input to AMD FSR 3.1.4 and onwards for best quality.

  • Added frame generation debug checker support.

  • Dropped unused interpolation command lists if frame generation callback fails, to fix infinite wait at swapchain destruction.

  • General fixes to Vulkan® Frame Interpolation Swapchain.

  • General framework fixes and updates.

  • Frame pacing debug line added to Vulkan®.

  • Added new FFX error when create frame interpolation swapchain results in E_ACCESSDENIED in DX12 due to overlay or capture software.

  • Enabled support for frame interpolation swapchain on Windows® 10 1909 and potentially earlier versions.

  • Fixed flipped disocclusion factor from previous and current backbuffer.

  • Fixed HDR mode issues in Cauldron sample.

  • Fixed MSVC C compile errors including ffx-api.

  • The AMD FidelityFX™ SDK 1.1.4 also updates the following to address select issues:

  • AMD FidelityFX™ Brixelizer GI 1.0.1

  • AMD FidelityFX™ Breadcrumbs 1.0.1

Other AMD FidelityFX effects