diff options
author | aap <aap@papnet.eu> | 2020-04-23 22:10:46 +0200 |
---|---|---|
committer | aap <aap@papnet.eu> | 2020-04-23 22:10:46 +0200 |
commit | 6467e2003a0fc9f6bb5f8b86dd699b674f5e5b9a (patch) | |
tree | f98c56e1e5428a9cd9dd6c26369a3358727db78b /src/render/Shadows.cpp | |
parent | fixed extra directory issues (diff) | |
parent | removed fix that made no sense (diff) | |
download | re3-6467e2003a0fc9f6bb5f8b86dd699b674f5e5b9a.tar re3-6467e2003a0fc9f6bb5f8b86dd699b674f5e5b9a.tar.gz re3-6467e2003a0fc9f6bb5f8b86dd699b674f5e5b9a.tar.bz2 re3-6467e2003a0fc9f6bb5f8b86dd699b674f5e5b9a.tar.lz re3-6467e2003a0fc9f6bb5f8b86dd699b674f5e5b9a.tar.xz re3-6467e2003a0fc9f6bb5f8b86dd699b674f5e5b9a.tar.zst re3-6467e2003a0fc9f6bb5f8b86dd699b674f5e5b9a.zip |
Diffstat (limited to 'src/render/Shadows.cpp')
-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; |