13 lines
184 B
GLSL
13 lines
184 B
GLSL
|
#version 330 core
|
||
|
out vec4 color;
|
||
|
in vec2 tex_coord;
|
||
|
|
||
|
uniform sampler2D texture1;
|
||
|
|
||
|
void main() {
|
||
|
color = texture(texture1, tex_coord);
|
||
|
|
||
|
if (color.a < 0.1)
|
||
|
discard;
|
||
|
}
|