13 lines
No EOL
188 B
GLSL
13 lines
No EOL
188 B
GLSL
#version 330 core
|
|
|
|
uniform sampler2D sampler;
|
|
|
|
in vec2 texCoords;
|
|
|
|
layout (location = 0) out vec4 color;
|
|
|
|
void main() {
|
|
color = texture(sampler, texCoords);
|
|
if(color.a == 0)
|
|
discard;
|
|
} |