From 909e301dc682b16950b1c8401ef1bc0da8eac6e0 Mon Sep 17 00:00:00 2001 From: Andrei Kortunov Date: Sun, 2 Apr 2023 14:02:40 +0400 Subject: [PATCH] Increase distotion level --- files/shaders/compatibility/water.frag | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/files/shaders/compatibility/water.frag b/files/shaders/compatibility/water.frag index e8188fb5f6..6db51106fd 100644 --- a/files/shaders/compatibility/water.frag +++ b/files/shaders/compatibility/water.frag @@ -122,7 +122,8 @@ void main(void) float distToCenter = length(rippleMapUV - vec2(0.5)); float blendClose = smoothstep(0.001, 0.02, distToCenter); float blendFar = 1.0 - smoothstep(0.3, 0.4, distToCenter); - rippleAdd += vec3(texture2D(rippleMap, rippleMapUV).ba * blendFar * blendClose, 0.0); + float distortionLevel = 2.0; + rippleAdd += distortionLevel * vec3(texture2D(rippleMap, rippleMapUV).ba * blendFar * blendClose, 0.0); vec2 bigWaves = vec2(BIG_WAVES_X,BIG_WAVES_Y); vec2 midWaves = mix(vec2(MID_WAVES_X,MID_WAVES_Y),vec2(MID_WAVES_RAIN_X,MID_WAVES_RAIN_Y),rainIntensity);