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