stk-code_catmod/data/shaders/transparent.frag
2014-03-19 01:25:54 +01:00

17 lines
212 B
GLSL

uniform sampler2D tex;
#if __VERSION__ >= 130
in vec2 uv;
in vec4 color;
out vec4 FragColor;
#else
varying vec2 uv;
#define FragColor gl_FragColor
#endif
void main()
{
FragColor = texture(tex, uv) * color;
}