#version 460 uniform sampler2D TextureSampler; in vec2 texCoord; void main(){ if(texture(TextureSampler,texCoord).a < 0.5) discard; };