blob: 81e08b9fcc7b4f8a2d35d562e12288854579f476 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
uniform sampler2D texture_data;
void main()
{
vec4 texel = texture(texture_data, vertex_texcoord);
if (texel.a != 1.0) {
discard;
}
frag_color = vec4(texel.rgb, texel.a);
}
|