12 lines
200 B
GLSL
12 lines
200 B
GLSL
|
#version 450 core
|
||
|
|
||
|
uniform sampler2D texture_basecolor;
|
||
|
|
||
|
in vec2 TexCoords;
|
||
|
|
||
|
void main()
|
||
|
{
|
||
|
vec4 baseColor = texture(texture_basecolor, TexCoords);
|
||
|
if(baseColor.a<0.4)
|
||
|
discard;
|
||
|
}
|