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