stk-code_catmod/data/shaders/billboard.frag

11 lines
164 B
GLSL
Raw Normal View History

uniform sampler2D tex;
in vec2 uv;
out vec4 FragColor;
void main(void)
{
vec4 color = texture(tex, uv);
2015-02-18 18:44:21 -05:00
FragColor = vec4(color.a * color.rgb, color.a);
}