ludum_dare_39/res/shaders/s2a/frag.fs

13 lines
166 B
Forth
Raw Permalink Normal View History

2024-08-07 04:58:07 +00:00
#version 330 core
uniform sampler2D sampler;
in vec2 texCoords;
out vec4 color;
void main() {
color = texture(sampler, texCoords);
if(color.a == 0)
discard;
}