blob: 7006a2b4876d4beda11b7d88e7cf9a6ba290d23d (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
uniform sampler2D texture_data;
void main()
{
vec2 tcfull = vec2(vertex_texcoord.x, 1.0 - vertex_texcoord.y);
vec4 texel = texture(texture_data, tcfull);
if (texel.a != 1.0) {
discard;
}
frag_color = texel;
}
|