From 7889392ad37213dc7419fb2423052b342e38de5b Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Sat, 20 Feb 2021 13:51:54 +0000 Subject: dos2unix shader sources --- gfx/gl/shaders/waterShader.fs | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) (limited to 'gfx/gl/shaders/waterShader.fs') diff --git a/gfx/gl/shaders/waterShader.fs b/gfx/gl/shaders/waterShader.fs index bdfbc33..c7d14cf 100644 --- a/gfx/gl/shaders/waterShader.fs +++ b/gfx/gl/shaders/waterShader.fs @@ -1,13 +1,13 @@ -#version 130 - -in vec2 texCoord0; -in float depth; - -uniform sampler2D sampler; -uniform vec3 waves; - -void main() -{ - gl_FragColor = texture(sampler, texCoord0); - gl_FragColor.a *= clamp(-depth * .7, .1, 1.0); -} +#version 130 + +in vec2 texCoord0; +in float depth; + +uniform sampler2D sampler; +uniform vec3 waves; + +void main() +{ + gl_FragColor = texture(sampler, texCoord0); + gl_FragColor.a *= clamp(-depth * .7, .1, 1.0); +} -- cgit v1.2.3