ludum_dare_41/res/shaders/s2a/frag.gls

13 lines
166 B
Text
Raw Normal View History

2019-03-11 05:42:33 +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;
}