Change auto resolutions, remove from options menu.

This commit is contained in:
Skyth 2024-12-07 23:51:58 +03:00
parent ba6febece2
commit 56068f77d8
2 changed files with 4 additions and 4 deletions

View file

@ -3900,11 +3900,12 @@ static void ProcSetPixelShader(const RenderCommand& cmd)
{ {
size_t height = round(g_swapChain->getHeight() * Config::ResolutionScale); size_t height = round(g_swapChain->getHeight() * Config::ResolutionScale);
if (height >= 2160) // Use the middle point between resolutions to have the transition less noticable.
if (height >= ((2160 + 1440) / 2))
shaderIndex = GAUSSIAN_BLUR_9X9; shaderIndex = GAUSSIAN_BLUR_9X9;
else if (height >= 1440) else if (height >= ((1440 + 1080) / 2))
shaderIndex = GAUSSIAN_BLUR_7X7; shaderIndex = GAUSSIAN_BLUR_7X7;
else if (height >= 1080) else if (height >= ((1080 + 720) / 2))
shaderIndex = GAUSSIAN_BLUR_5X5; shaderIndex = GAUSSIAN_BLUR_5X5;
else else
shaderIndex = GAUSSIAN_BLUR_3X3; shaderIndex = GAUSSIAN_BLUR_3X3;

View file

@ -813,7 +813,6 @@ static void DrawConfigOptions()
DrawConfigOption(rowCount++, yOffset, &Config::TransparencyAntiAliasing, Config::AntiAliasing != EAntiAliasing::None, &Localise("Options_Desc_NotAvailableMSAA")); DrawConfigOption(rowCount++, yOffset, &Config::TransparencyAntiAliasing, Config::AntiAliasing != EAntiAliasing::None, &Localise("Options_Desc_NotAvailableMSAA"));
DrawConfigOption(rowCount++, yOffset, &Config::ShadowResolution, true); DrawConfigOption(rowCount++, yOffset, &Config::ShadowResolution, true);
DrawConfigOption(rowCount++, yOffset, &Config::GITextureFiltering, true); DrawConfigOption(rowCount++, yOffset, &Config::GITextureFiltering, true);
DrawConfigOption(rowCount++, yOffset, &Config::DepthOfFieldQuality, true);
DrawConfigOption(rowCount++, yOffset, &Config::MotionBlur, true); DrawConfigOption(rowCount++, yOffset, &Config::MotionBlur, true);
DrawConfigOption(rowCount++, yOffset, &Config::XboxColourCorrection, true); DrawConfigOption(rowCount++, yOffset, &Config::XboxColourCorrection, true);
DrawConfigOption(rowCount++, yOffset, &Config::MovieScaleMode, true); DrawConfigOption(rowCount++, yOffset, &Config::MovieScaleMode, true);