From 8a46f5a6a9f289453d87b11b3cda13608fcbb24d Mon Sep 17 00:00:00 2001 From: Alayan <25536748+Alayan-stk-2@users.noreply.github.com> Date: Fri, 10 Jan 2025 20:01:37 +0100 Subject: [PATCH] Introduce super-sampling options Allow to set the render scale over 100%, with presets at 125%, 150% and 200%. Users with powerful GPUs can therefore get a higher quality image at the cost of performance. Render scale increase the vertical resolution and horizontal resolution by the scaling factor, 125% is therefore 1.56x more pixels than native, 150% is 2.25x more and 200% is 4x more pixels. --- src/states_screens/options/options_screen_video.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/states_screens/options/options_screen_video.cpp b/src/states_screens/options/options_screen_video.cpp index 3cfa5db291..5c6423bea2 100644 --- a/src/states_screens/options/options_screen_video.cpp +++ b/src/states_screens/options/options_screen_video.cpp @@ -124,6 +124,9 @@ void OptionsScreenVideo::initPresets() m_scale_rtts_custom_presets.push_back({ 0.9f }); m_scale_rtts_custom_presets.push_back({ 0.95f }); m_scale_rtts_custom_presets.push_back({ 1.0f }); + m_scale_rtts_custom_presets.push_back({ 1.25f }); + m_scale_rtts_custom_presets.push_back({ 1.5f }); + m_scale_rtts_custom_presets.push_back({ 2.0f }); } // initPresets @@ -292,6 +295,9 @@ void OptionsScreenVideo::init() scale_rtts->addLabel("90%"); scale_rtts->addLabel("95%"); scale_rtts->addLabel("100%"); + scale_rtts->addLabel("125%"); + scale_rtts->addLabel("150%"); + scale_rtts->addLabel("200%"); // --- set gfx settings values updateGfxSlider();