mirror of https://github.com/Nofated095/re-GTA.git
Merge remote-tracking branch 'upstream/master'
This commit is contained in:
commit
78d6ad7348
|
@ -1642,9 +1642,9 @@ CShadows::RenderExtraPlayerShadows(void)
|
||||||
|
|
||||||
int32 nColorStrength;
|
int32 nColorStrength;
|
||||||
if ( fLightDist < fRadius*0.5f )
|
if ( fLightDist < fRadius*0.5f )
|
||||||
nColorStrength = CTimeCycle::GetLightShadowStrength();
|
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