1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-02-19 19:10:12 +00:00

Update water_fragment.glsl

This commit is contained in:
wareya 2021-11-12 06:55:19 +00:00
parent 6d98866be0
commit a1d03d178d

View file

@ -61,7 +61,7 @@ const float RAIN_RIPPLE_RADIUS = 0.2;
float scramble(float x, float z)
{
return fract(pow(x*3.0+1.0, z));
return fract(pow(fract(x)*3.0+1.0, z));
}
vec2 randOffset(vec2 c, float time)