Hello,
I’m using WaterBasicDaytime / FX/Water (Basic) from standard assets example along with water.cs (Water Mode Simple) but I have a problem.
Water animation doesn’t tile. Every 10 seconds Water animation resets to it’s starting point making water animation flicker or cut for a moment.
If I remove Clamping from Offset calculation it seems to work fine but there must be a reason why there is a clamping.
I use
Vector4 offset4 = waveSpeed * ( t * waveScale);
instead of
(float) Math.IEEERemainder(waveSpeed.x * waveScale4.x * t, 1.0) - For each axis
Why is this clamping made? Is there a way to tile water animation with clamping.
Thanks.