Skip to content

FlaxEngine/FidelityFX-FSR

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AMD FidelityFX Super Resolution for Flax Engine

AMD FidelityFX Super Resolution for Flax Engine

AMD Fidelity FX Super Resolution is a cutting edge super-optimize spatial upsampling technology that produces impressive image quality at fast framerates. This repository contains a plugin project for Flax Engine games with FSR.

Minimum supported Flax version: 1.2.

Installation

  1. Clone repo into <game-project>\Plugins\FidelityFX-FSR

  2. Add reference to FSR project in your game by modyfying your game <game-project>.flaxproj as follows:

...
"References": [
    {
        "Name": "$(EnginePath)/Flax.flaxproj"
    },
    {
        "Name": "$(ProjectPath)/Plugins/FidelityFX-FSR/FidelityFX-FSR.flaxproj"
    }
]
  1. Test it out!

Finally open Flax Editor - FSR will be visible in Plugins window (under Rendering category). It implements CustomUpscale postFx to increase visual quality when using low-res rendering. To test it simply start the game and adjust the Rendering Percentage property in Graphics Quality Window. Use scale factors provided by AMD to achieve the best quality-performance ratio.

API

FSR is implemented as a GamePlugin and can be accessed as follows to configure effect:

var postFx = PluginManager.GetPlugin<FSR>().PostFx;
postFx.Enabled = true; // Enable/disable effect
postFx.Sharpness = 0.25f; // Values in range 0-2 (0=max sharpness)
MainRenderTask.Instance.RenderingPercentage = 0.67f; // Follow AMD docs for scaling factors

License

Both this plugin and FSR are released under MIT License.

Trademarks

© 2021 Advanced Micro Devices, Inc. All rights reserved. AMD, the AMD Arrow logo, Radeon, RDNA, Ryzen, and combinations thereof are trademarks of Advanced Micro Devices, Inc.