summaryrefslogtreecommitdiff
path: root/data/graphics/shaders/texture_frag.glsl
blob: db6c7176f55e9fd4cacae8a664d8e78492851b5c (plain) (blame)
1
2
3
4
5
6
7
8
9
#version 150 core
in vec2 Texcoord;
out vec4 outColor;
uniform sampler2D tex;
uniform float color;
void main()
{
    outColor = texture(tex, Texcoord) * vec4(1.0, 1.0, 1.0, color);
}