mirror of
https://gitlab.com/GaryOderNichts/re3-wiiu.git
synced 2024-12-23 16:21:50 +01:00
fix RenderExtraPlayerShadows 2
This commit is contained in:
parent
fba4c51f6b
commit
828dc85be5
@ -1644,7 +1644,7 @@ CShadows::RenderExtraPlayerShadows(void)
|
|||||||
if ( fLightDist < fRadius*0.5f )
|
if ( fLightDist < fRadius*0.5f )
|
||||||
nColorStrength = (5*CTimeCycle::GetLightShadowStrength()/8);
|
nColorStrength = (5*CTimeCycle::GetLightShadowStrength()/8);
|
||||||
else
|
else
|
||||||
nColorStrength = int32(CTimeCycle::GetLightShadowStrength() * fMult);
|
nColorStrength = int32((5*CTimeCycle::GetLightShadowStrength()/8) * fMult);
|
||||||
|
|
||||||
float fInv = 1.0f / fLightDist;
|
float fInv = 1.0f / fLightDist;
|
||||||
vecLight.x *= fInv;
|
vecLight.x *= fInv;
|
||||||
|
Loading…
Reference in New Issue
Block a user