stk-code_catmod/data/shaders/colortexturedquad.frag
2020-05-01 09:34:04 +08:00

12 lines
150 B
GLSL

uniform sampler2D tex;
in vec2 uv;
in vec4 color;
out vec4 FragColor;
void main()
{
vec4 res = texture(tex, uv);
FragColor = res * color;
}