diff --git a/shaders/text-atlas.f.glsl b/shaders/text-atlas.f.glsl deleted file mode 100644 index e5802b123..000000000 --- a/shaders/text-atlas.f.glsl +++ /dev/null @@ -1,12 +0,0 @@ -#version 330 core - -in vec2 TexCoords; -in vec4 VertexColor; - -uniform sampler2D text; - -void main() -{ - float a = texture(text, TexCoords).r; - gl_FragColor = vec4(VertexColor.rgb, VertexColor.a*a); -} diff --git a/shaders/text-atlas.v.glsl b/shaders/text-atlas.v.glsl deleted file mode 100644 index 79c8d5613..000000000 --- a/shaders/text-atlas.v.glsl +++ /dev/null @@ -1,17 +0,0 @@ -#version 330 core - -layout (location = 0) in vec3 vertex; -layout (location = 1) in vec2 tex_coord; -layout (location = 2) in vec4 color; - -out vec2 TexCoords; -out vec4 VertexColor; - -uniform mat4 projection; - -void main() -{ - gl_Position = projection * vec4(vertex, 1.0); - TexCoords = tex_coord.xy; - VertexColor = color; -}