GithubHelp home page GithubHelp logo

flaxengine / fidelityfx-fsr Goto Github PK

View Code? Open in Web Editor NEW
18.0 3.0 3.0 13.29 MB

AMD FidelityFX Super Resolution plugin for Flax Engine

License: MIT License

C# 2.02% Smalltalk 0.53% GLSL 1.04% C 96.41%
flax amd fidelityfx flax-engine fsr gamedev graphics

fidelityfx-fsr's Introduction

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.

fidelityfx-fsr's People

Contributors

mafiesto4 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.