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:
parent
6d98866be0
commit
a1d03d178d
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user