aboutsummaryrefslogtreecommitdiff
path: root/engines/sludge/texture.frag
diff options
context:
space:
mode:
Diffstat (limited to 'engines/sludge/texture.frag')
-rw-r--r--engines/sludge/texture.frag22
1 files changed, 0 insertions, 22 deletions
diff --git a/engines/sludge/texture.frag b/engines/sludge/texture.frag
deleted file mode 100644
index 3de427ba8d..0000000000
--- a/engines/sludge/texture.frag
+++ /dev/null
@@ -1,22 +0,0 @@
-uniform sampler2D sampler2d;
-uniform bool zBuffer;
-uniform float zBufferLayer;
-uniform bool modulateColor;
-
-varying vec2 varCoord;
-varying vec4 color;
-
-void main(void)
-{
- vec4 col = texture2D(sampler2d, varCoord);
- if (zBuffer && col.a < 0.0625*zBufferLayer-0.03)
- {
- discard;
- }
- if (modulateColor)
- {
- col = col * color;
- }
- gl_FragColor = col;
-}
-