SFML community forums

General => Feature requests => Topic started by: UnderDev144 on June 03, 2023, 08:13:23 am

Title: AMD FSR
Post by: UnderDev144 on June 03, 2023, 08:13:23 am
Hello I would like to have FSR with SFML but after searching I found that we need HLSL. How can I implement it?
Title: Re: AMD FSR
Post by: eXpl0it3r on June 03, 2023, 10:30:21 am
SFML uses OpenGL under the hood, so to write shaders you'll need GLSL and not HLSL.

I don't really know how FSR works, after quick web search it seems that they don't support OpenGL (https://github.com/GPUOpen-Effects/FidelityFX-FSR2/issues/10), but it looks like others have taken a stab at it (https://jntesteves.github.io/shadesofnoice/graphics/shaders/upscaling/2021/09/11/amd-fsr-demystified.html).