![Unity Logo](png/u_logo_white_rgb.png)
Our FSR 2 patch for Unity URP (DirectX® 11 only) is available now!
AMD FidelityFX™ Super Resolution 2 (FSR 2) is our open source temporal upscaling solution. FSR 2 uses cutting-edge temporal algorithms to reconstruct fine geometric and texture detail, producing anti-aliased output from aliased input.
While this patch targets URP 12.1.7 in particular, you can still use this patch for other versions (including newer) with a few careful changes.
Note that this version of the patch supports DX11 only.
Unity CPU profiling guide
One of our engineers shares their top advice to help you profile your CPU in Unity.
This guide covers:
Key factors for CPU game profilingProfiling tools and how they can be used
Behind Mono and IL2CPP
Useful links
![](https://gpuopen.com/wp-content/uploads/2024/01/featured-unity-cpu-profiling-guide.jpg)
CPU profiling for Unity
This is a general guide focusing on CPU profiling for Unity, including which tools are useful for profiling and how to use these tools to find hotspots in your code.
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.
- Run
git apply [PATH TO PATCH]
.
Method 2
- 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.
![Unity FSR URP options](png/unity_urp_fsr_options-1.png)
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
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.
Unity China HairFX
Unity China HairFX uses our TressFX open source high quality real-time hair simulation and rendering framework.
It supports both Unity’s Universal Render Pipeline (URP) and Unity’s High Definition Render Pipeline (HDRP).
It is also compatible with the Unity 2021 Long Term Support (LTS).
Watch the Defender video below which shows the hair effects rendered by Unity China HairFX.
Find out more about Unity China HairFX on our blog!
![Unity China HairFX](https://gpuopen.com/wp-content/uploads/2022/11/UnityChinaHairFXlogo-768x461.jpg)
AMD and Unity China collaborate on Unity China HairFX to create ultra-realistic hair across platforms
Following two years of work based on AMD’s TressFX open source high quality real-time hair simulation and rendering framework, Unity China HairFX is now available!
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.