Skip to content

Commit

Permalink
Introduce super-sampling options
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
Alayan-stk-2 committed Jan 10, 2025
1 parent e2b2a1c commit 8a46f5a
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/states_screens/options/options_screen_video.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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();
Expand Down

0 comments on commit 8a46f5a

Please sign in to comment.