stk-code_catmod/data/shaders/colortexturedquad.frag
2014-01-19 19:31:00 +01:00

13 lines
186 B
GLSL

#version 130
uniform sampler2D tex;
in vec2 uv;
in vec4 col;
out vec4 FragColor;
void main()
{
vec4 res = texture(tex, uv);
FragColor = vec4(res.xyz * col.xyz, res.a);
}