stk-code_catmod/data/shaders/billboard.frag
2015-02-19 00:44:21 +01:00

11 lines
164 B
GLSL

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