Skip to content
This repository has been archived by the owner. It is now read-only.

fix RenderExtraPlayerShadows #483

Merged
merged 2 commits into from Apr 21, 2020
Merged
Changes from all commits
Commits
File filter
Filter file types
Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.

Always

Just for now

@@ -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;