13 lines
179 B
GLSL
13 lines
179 B
GLSL
#version 430 core
|
|
in vec2 vUV;
|
|
out vec4 FragColor;
|
|
|
|
uniform sampler2D uTex;
|
|
|
|
void main()
|
|
{
|
|
vec4 tex = texture(uTex, vUV);
|
|
if (tex.a < 0.1) discard;
|
|
FragColor = tex;
|
|
}
|