PanosK92 / SpartanEngine

A game engine with an emphasis on real-time cutting-edge solutions
https://panoskarabelas.com
MIT License
2.24k stars 189 forks source link

Dynamic resolution scaling #132

Closed PanosK92 closed 8 months ago

PanosK92 commented 11 months ago

Dynamic resolution scaling is a feature designed to enhance the performance of the Spartan Engine by automatically adjusting the rendering resolution based on real-time performance metrics. This ensures optimal frame rates across various hardware configurations, particularly in graphically demanding situations, thereby providing a smoother user experience without greatly impacting visual quality.

FSR 2 supports that, if you look at what else the dispatch call accepts as inputs, you can figure out everything: https://github.com/PanosK92/SpartanEngine/blob/076636d560946aaabdd5b88536274b30deaa4806/runtime/RHI/Vulkan/Vulkan_FidelityFX.cpp#L306

PanosK92 commented 8 months ago

Done