mirror of
https://github.com/GTAmodding/re3.git
synced 2025-07-13 07:14:09 +00:00
Fix water UV on high FPS and inverted free camera
This commit is contained in:
parent
a8f1505517
commit
e0b3418e65
3 changed files with 11 additions and 1 deletions
|
@ -351,8 +351,13 @@ CWaterLevel::RenderWater()
|
|||
|
||||
if ( !CTimer::GetIsPaused() )
|
||||
{
|
||||
#ifdef FIX_BUGS
|
||||
TEXTURE_ADDU += (CGeneral::GetRandomNumberInRange(-0.0005f, 0.0005f) + windAddUV) * CTimer::GetTimeStepFix();
|
||||
TEXTURE_ADDV += (CGeneral::GetRandomNumberInRange(-0.0005f, 0.0005f) + windAddUV) * CTimer::GetTimeStepFix();
|
||||
#else
|
||||
TEXTURE_ADDU += CGeneral::GetRandomNumberInRange(-0.0005f, 0.0005f) + windAddUV;
|
||||
TEXTURE_ADDV += CGeneral::GetRandomNumberInRange(-0.0005f, 0.0005f) + windAddUV;
|
||||
#endif
|
||||
}
|
||||
|
||||
if ( TEXTURE_ADDU >= 1.0f )
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue