11 lines
186 B
GLSL
11 lines
186 B
GLSL
#version 460 core
|
|
|
|
in vec2 vert_texcoord;
|
|
out vec4 frag_color;
|
|
|
|
uniform sampler2D tex;
|
|
|
|
void main() {
|
|
frag_color = texture(tex, vert_texcoord);
|
|
if(frag_color.a < 0.1) discard;
|
|
}
|