diff options
Diffstat (limited to 'data/graphics/shaders/simple_frag.glsl')
-rw-r--r-- | data/graphics/shaders/simple_frag.glsl | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/data/graphics/shaders/simple_frag.glsl b/data/graphics/shaders/simple_frag.glsl deleted file mode 100644 index 2c149351a..000000000 --- a/data/graphics/shaders/simple_frag.glsl +++ /dev/null @@ -1,19 +0,0 @@ -#version 130 -in vec2 Texcoord; -out vec4 outColor; -uniform sampler2D tex; -uniform vec4 color; -uniform float drawType; -uniform float alpha; - -void main() -{ - if (drawType >= 0.1) - { - outColor = texelFetch(tex, ivec2(Texcoord.x, Texcoord.y), 0) * vec4(1.0, 1.0, 1.0, alpha); - } - else - { - outColor = color; - } -} |