diff options
author | Nikolay Korolev <nickvnuk@gmail.com> | 2020-04-21 22:41:04 +0200 |
---|---|---|
committer | Nikolay Korolev <nickvnuk@gmail.com> | 2020-04-21 22:41:04 +0200 |
commit | 78d6ad73481d8f4bec4db80919700e91b75e8acd (patch) | |
tree | ae9141dfa93210e085e8148af87e94eaf40145e7 /src | |
parent | Merge remote-tracking branch 'upstream/master' (diff) | |
parent | Merge pull request #483 from Fire-Head/master (diff) | |
download | re3-78d6ad73481d8f4bec4db80919700e91b75e8acd.tar re3-78d6ad73481d8f4bec4db80919700e91b75e8acd.tar.gz re3-78d6ad73481d8f4bec4db80919700e91b75e8acd.tar.bz2 re3-78d6ad73481d8f4bec4db80919700e91b75e8acd.tar.lz re3-78d6ad73481d8f4bec4db80919700e91b75e8acd.tar.xz re3-78d6ad73481d8f4bec4db80919700e91b75e8acd.tar.zst re3-78d6ad73481d8f4bec4db80919700e91b75e8acd.zip |
Diffstat (limited to 'src')
-rw-r--r-- | src/render/Shadows.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/render/Shadows.cpp b/src/render/Shadows.cpp index 319cdd3c..d5970ebe 100644 --- a/src/render/Shadows.cpp +++ b/src/render/Shadows.cpp @@ -1642,9 +1642,9 @@ CShadows::RenderExtraPlayerShadows(void) int32 nColorStrength; if ( fLightDist < fRadius*0.5f ) - nColorStrength = CTimeCycle::GetLightShadowStrength(); + nColorStrength = (5*CTimeCycle::GetLightShadowStrength()/8); else - nColorStrength = int32(CTimeCycle::GetLightShadowStrength() * fMult); + nColorStrength = int32((5*CTimeCycle::GetLightShadowStrength()/8) * fMult); float fInv = 1.0f / fLightDist; vecLight.x *= fInv; |