mirror of
https://github.com/hedge-dev/UnleashedRecomp.git
synced 2026-04-27 21:01:37 +00:00
Change auto resolutions, remove from options menu.
This commit is contained in:
parent
ba6febece2
commit
56068f77d8
2 changed files with 4 additions and 4 deletions
|
|
@ -3900,11 +3900,12 @@ static void ProcSetPixelShader(const RenderCommand& cmd)
|
|||
{
|
||||
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;
|
||||
else if (height >= 1440)
|
||||
else if (height >= ((1440 + 1080) / 2))
|
||||
shaderIndex = GAUSSIAN_BLUR_7X7;
|
||||
else if (height >= 1080)
|
||||
else if (height >= ((1080 + 720) / 2))
|
||||
shaderIndex = GAUSSIAN_BLUR_5X5;
|
||||
else
|
||||
shaderIndex = GAUSSIAN_BLUR_3X3;
|
||||
|
|
|
|||
|
|
@ -813,7 +813,6 @@ static void DrawConfigOptions()
|
|||
DrawConfigOption(rowCount++, yOffset, &Config::TransparencyAntiAliasing, Config::AntiAliasing != EAntiAliasing::None, &Localise("Options_Desc_NotAvailableMSAA"));
|
||||
DrawConfigOption(rowCount++, yOffset, &Config::ShadowResolution, true);
|
||||
DrawConfigOption(rowCount++, yOffset, &Config::GITextureFiltering, true);
|
||||
DrawConfigOption(rowCount++, yOffset, &Config::DepthOfFieldQuality, true);
|
||||
DrawConfigOption(rowCount++, yOffset, &Config::MotionBlur, true);
|
||||
DrawConfigOption(rowCount++, yOffset, &Config::XboxColourCorrection, true);
|
||||
DrawConfigOption(rowCount++, yOffset, &Config::MovieScaleMode, true);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue