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)
- Download the FSR 1.0 patch file.
- Navigate to the package directory in your Unity project.
git apply [PATH TO PATCH].
- Download and open the FSR 1.0 patch file using a text editor.
- Review all the code diffs.
- 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.
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
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]