diff --git a/data/shaders/snow.frag b/data/shaders/snow.frag deleted file mode 100644 index 62abb54d1..000000000 --- a/data/shaders/snow.frag +++ /dev/null @@ -1,19 +0,0 @@ -#version 130 -uniform sampler2D tex; -uniform float time; - -void main() -{ - vec2 change; - change.x = abs(sin(time * gl_Color.r)); - change.y = abs(cos(time * gl_Color.g)); - - change = smoothstep(0.0, 1.0, change) * 0.5; - - vec2 tc = gl_TexCoord[0].xy; - tc = smoothstep(0.5 - change, 0.5 + change, tc); - - vec4 tcol = texture2D(tex, tc); - - gl_FragColor = tcol; -} diff --git a/data/shaders/snow.vert b/data/shaders/snow.vert deleted file mode 100644 index d1a121596..000000000 --- a/data/shaders/snow.vert +++ /dev/null @@ -1,8 +0,0 @@ -#version 130 -void main() -{ - gl_TexCoord[0] = gl_TextureMatrix[0] * gl_MultiTexCoord0; - gl_Position = gl_ModelViewProjectionMatrix * gl_Vertex; - - gl_FrontColor = gl_Color; -}