stk-code_catmod/data/shaders/colortexturedquad.frag
vincentlj 35f37a62c2 Font looks better now.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@15061 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2014-01-13 22:28:10 +00:00

12 lines
178 B
GLSL

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