mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2024-11-22 06:05:38 +00:00
Reverted the dim value for the screensaver.
This commit is contained in:
parent
06a037d8cf
commit
7bdce3f4a3
|
@ -349,8 +349,8 @@ void Screensaver::renderScreensaver()
|
|||
dimParameters.dimming = mDimValue;
|
||||
dimParameters.saturation = mSaturationAmount;
|
||||
mRenderer->shaderPostprocessing(Renderer::Shader::CORE, dimParameters);
|
||||
if (mDimValue > 0.63)
|
||||
mDimValue = glm::clamp(mDimValue - 0.015f, 0.68f, 1.0f);
|
||||
if (mDimValue > 0.4)
|
||||
mDimValue = glm::clamp(mDimValue - 0.021f, 0.4f, 1.0f);
|
||||
if (mSaturationAmount > 0.0)
|
||||
mSaturationAmount = glm::clamp(mSaturationAmount - 0.035f, 0.0f, 1.0f);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue