summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorFire_Head <Fire-Head@users.noreply.github.com>2020-04-21 21:56:16 +0200
committerGitHub <noreply@github.com>2020-04-21 21:56:16 +0200
commitf754e0532127d3afe25cfd745e824547863e5494 (patch)
treec2345edc73343cea111d14b1e5323fb9f0297a96 /src
parentlibrw (diff)
parentfix RenderExtraPlayerShadows 2 (diff)
downloadre3-f754e0532127d3afe25cfd745e824547863e5494.tar
re3-f754e0532127d3afe25cfd745e824547863e5494.tar.gz
re3-f754e0532127d3afe25cfd745e824547863e5494.tar.bz2
re3-f754e0532127d3afe25cfd745e824547863e5494.tar.lz
re3-f754e0532127d3afe25cfd745e824547863e5494.tar.xz
re3-f754e0532127d3afe25cfd745e824547863e5494.tar.zst
re3-f754e0532127d3afe25cfd745e824547863e5494.zip
Diffstat (limited to 'src')
-rw-r--r--src/render/Shadows.cpp4
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;