
AMD FidelityFX™ SDK
The AMD FidelityFX SDK is our easy-to-integrate solution for developers looking to include FidelityFX features into their games.
AMD FidelityFX Super Resolution 2 (FSR2) is an open source, high-quality solution for producing high resolution frames from lower resolution inputs. FSR2 uses temporal feedback to reconstruct high-resolution images while maintaining and even improving image quality compared to native rendering. FSR2 can enable “practical performance” for costly render operations, such as hardware ray tracing.
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.
0001-Added-FSR2-support-for-URP.patch
to your local URP repository.
0001-fsr-2.2-dx11-backend.patch
to FidelityFX-FSR2 @v2.2.1.GenerateSolutionDX11.bat
instead of GenerateSolutions.bat
to get the Visual Studio® solution file (.sln).
UNITY_PLUGINAPI_INCLUDE_DIR
: Unity plugin API include directory.FFX_FSR2_API_INCLUDE_DIR
: FSR 2 API include directory.FFX_FSR2_LIB_DIR
: FSR 2 link library directory.FSR2_BACKEND
: Set the backend. NOTE! Currently only dx11 is supported.FSR2_UNITY_PLUGIN_DST_DIR
: Destination directory for compiled fsr2-unity-plugin[d].dll
. FSR2Feature
into your URP renderer data.
FSR2PassControl
to GameObject
where it has a camera, and you want use FSR 2 to upscale the output of that camera.
ReactiveMaskParameter.OptReactiveMaskTex
and ReactiveMaskParameter.OptTransparencyAndCompositionTex
. To find out more about FSR 2, please visit our AMD FidelityFX FSR 2 page on GPUOpen.
This plugin is developed by AMD and is distributed subject to the MIT license. For more information about the plugin, FSR, or if you have any support questions, please visit GPUOpen.
“Unity”, Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere.
DirectX and Microsoft are registered trademarks of Microsoft Corporation in the US and other jurisdictions.