stk-code_catmod/data/shaders/object_unlit.frag

12 lines
193 B
GLSL
Raw Normal View History

#version 330
2014-01-25 15:00:02 -05:00
uniform sampler2D tex;
in vec2 uv;
out vec4 FragColor;
void main(void)
{
vec4 color = texture(tex, uv);
if (color.a < 0.5) discard;
FragColor = vec4(color.xyz, 1.);
}