From 583bf2612909d6fc608ff4cc6402f19aa1d8d2cb Mon Sep 17 00:00:00 2001 From: Alug Date: Tue, 2 Jan 2024 20:36:14 +0100 Subject: [PATCH] =?UTF-8?q?w=C3=B6ter?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/hardware/r_opengl/r_opengl.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/hardware/r_opengl/r_opengl.c b/src/hardware/r_opengl/r_opengl.c index ed1d0fa53..c23d27080 100644 --- a/src/hardware/r_opengl/r_opengl.c +++ b/src/hardware/r_opengl/r_opengl.c @@ -860,8 +860,8 @@ static float shader_leveltime = 0; "void main(void) {\n" \ "float water_z = (gl_FragCoord.z / gl_FragCoord.w) / 2.0;\n" \ "float a = -pi * (water_z * freq) + (leveltime * speed);\n" \ - "float sdistort = sin(a) * amp;\n" \ - "float cdistort = cos(a) * amp;\n" \ + "float sdistort = sin(a) * amp * 1.5;\n" \ + "float cdistort = cos(a) * amp * 1.5;\n" \ "vec4 texel = texture2D(tex, vec2(gl_TexCoord[0].s - sdistort, gl_TexCoord[0].t - cdistort));\n" \ "int tex_pal_idx = int(texture3D(lookup_tex, vec3((texel * 63.0 + 0.5) / 64.0))[0] * 255.0);\n" \ "float z = gl_FragCoord.z / gl_FragCoord.w;\n" \