AMD FidelityFX Variable Shading (VS) provides an open source header implementation to easily integrate Variable Rate Shading into your game. The effect works by analyzing luminance variance in the previous frame and uses motion vectors to generate a shading rate image.

Supports: 

  • DirectX®12 Ultimate.

Download now - v1.0

xbox

Xbox developer?

An example use of AMD FidelityFX Variable Shading exists within the Xbox Game Development Kit samples.

Features

State-of-the-art algorithm

Optimized for Shader Model 6.0+

Open source, MIT license

Features of the implementation: 

  • AMD RDNA™ 2-optimized algorithm.
  • Support for Direct3D®12 API.
  • Shaders written in HLSL utilizing SM 6.0 wave-level operations.

A sample application is provided for Direct3D®12.

Comparison

Full Shading Rate 2×1 or 1×2 Shading Rate 2×2 Shading Rate

See AMD FidelityFX Variable Shading in action with DIRT® 5

Dirt5
Watch "Radeon RX 6000 Partner Showcase: Dirt 5 and Codemasters" on YouTube in a new window

Additional resources

Engineer Stephan Hodes provides a short description how VRS works, and how AMD’s FidelityFX Variable Shading technique can assist with integrating VRS into your engine.

A set of guidelines for developers on how to present options in the game’s user interface to enable/disable AMD FidelityFX Effects.

Find out what developers are saying about AMD FidelityFX.

Version history

  • Initial release

More AMD FidelityFX effects

Shadow Denoiser

AMD FidelityFX – Denoiser

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

Cauldron Framework

Radeon™ Cauldron is our open source experimentation framework for DirectX®12 and Vulkan®.

Our other effects

FEMFX

A multithreaded CPU library for deformable material physics, using the Finite Element Method (FEM)

DepthOfFieldFX

The DepthOfFieldFX library provides a GCN-optimized Compute Shader implementation of Depth of Field using the Fast Filter Spreading approach.

GeometryFX

GeometryFX improves the rasterizer efficiency by culling triangles that do not contribute to the output in a pre-pass. This allows the full chip to be used to process geometry, and ensures that the rasterizer only processes triangles that are visible.

ShadowFX

ShadowFX library provides a scalable GCN-optimized solution for deferred shadow filtering. It supports uniform and contact hardening shadow (CHS) kernels.

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.