Unity Logo

Our FSR 1.0 patch for Unity URP is available now!

AMD FidelityFX™ Super Resolution (FSR) is an open source, high-quality solution for producing high resolution frames from lower resolution inputs. It uses a collection of cutting-edge algorithms with a particular emphasis on creating high-quality edges, giving large performance improvements compared to rendering at native resolution directly. FSR enables “practical performance” for costly render operations, such as hardware ray tracing.

This patch modifies Unity URP to include FSR 1.0. The current version of our patch file targets URP 10.6.0, but with a few careful changes you can still use it for both older and newer versions.

Integrating our FSR 1.0 patch into Unity URP

Method 1 (recommended)

  1. Download the FSR 1.0 patch file.
  2. Navigate to the package directory in your Unity project.
  3. Run git apply [PATH TO PATCH].

Method 2

  1. Download and open the FSR 1.0 patch file using a text editor.
  2. Review all the code diffs.
  3. Manually merge the changes into your local URP code manually.
 

Using FSR 1.0 in Unity URP

After integrating FSR correctly and toggling on the Camera post-processing in your Unity project, the option for AMD FSR 1.0 will appear below it.

You can choose different FSR modes according to your requirements.

At present, if you turn on FSR, the anti-aliasing (MSAA) setting will be set to 8X by default.

You can change this to a lower MSAA level or other anti-aliasing solution. However, keep in mind that FSR 1.0 requires an anti-aliasing process before it can work.

The MSAA setting is:

settings.msaaSampleCount = 8;

Note: Mobile platforms (including standalone VR headsets) are not guaranteed to work due to the compute shader implementation.

Unity FSR URP options

FSR 1.0 in Unity HDRP

FidelityFX Super Resolution is currently available in Unity 2021.2. 

Unity developers can use FSR by enabling dynamic resolution in your HDRP assets and Cameras, and then selecting “FidelityFX Super Resolution 1.0” under the “Upscale filter” option. FSR settings can be tweaked along in the dynamic resolution panel.

See FSR in action in Unity HDRP

We’ve made a video using Unity’s Spaceship demo with FSR support, so you can see how well it works!1

[Viewers in China watch here]

You can also try out FSR yourself with the Spaceship demo available on Steam – activate FidelityFX Super Resolution in the Graphics options.

Learn more about how FSR works and its integration into Unity HDRP

Watch Improved Spatial Upscaling through FidelityFX Super Resolution for Real-Time Game Engines, presented by Unity’s Timothy Lottes and Kleber Garcia.

The talk covers the algorithmic underpinnings of FSR and their practical integration into Unity 2021.2. [slides]

This video was first shown during the Advances in Real-Time Rendering in Games track at SIGGRAPH 2021.

Related content

  • AMD FidelityFX Super Resolution is supported on the following AMD products: AMD Radeon™ RX 6000, RX 5000, RX 500, RX 480, RX 470, RX 460, RX Vega Series graphics cards & all AMD Ryzen™ Processors with Radeon™ Graphics. AMD does not provide technical or warranty support for AMD FidelityFX Super Resolution enablement on other vendor's graphics cards. GD-187
  • 1. Testing by AMD as of July 8, 2021, on the AMD Radeon™ RX 6800 XT graphics card with AMD Radeon™ Software 21.6.1 driver using a test system comprising of an AMD Ryzen™ 9 3900X, 32 GB DDR4-3200 RAM, Gigabyte Asus ROG Crosshair Hero VIII motherboard, and Windows® 10 Pro May 2020 Update. Benchmark tests: Unity HDRP Spaceship demo, built-in benchmark, 3840 x 2160, TAA. Performance may vary and is dependent on the FSR Quality Mode selected. FSR requires developer integration and is available in select games only. RS-388.

Unity, Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere.