1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-02-05 15:40:10 +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)