summaryrefslogtreecommitdiff
path: root/shaders
diff options
context:
space:
mode:
Diffstat (limited to 'shaders')
-rw-r--r--shaders/water_fragment.glsl2
1 files changed, 1 insertions, 1 deletions
diff --git a/shaders/water_fragment.glsl b/shaders/water_fragment.glsl
index 150f071..7e877e9 100644
--- a/shaders/water_fragment.glsl
+++ b/shaders/water_fragment.glsl
@@ -6,7 +6,7 @@ uniform sampler2D tex;
uniform float t;
void main() {
- gl_FragColor = texture2D(tex, gl_TexCoord[0].st + vec2(t, t)) - vec4(.2, .2, 0, 0);
+ gl_FragColor = texture2D(tex, gl_TexCoord[0].st + vec2(t)) - vec4(.2, .2, 0, 0);
gl_FragColor = mix(gl_FragColor, gl_Fog.color, pow(length(player_pos - pos)/100, 5));
gl_FragColor.a = 0.7;
}