ludum_dare_39/res/shaders/s2x/frag.fs

15 lines
197 B
Forth
Raw Normal View History

2019-03-11 05:34:10 +00:00
#version 330 core
uniform vec4 iColor;
uniform sampler2D sampler;
in vec2 texCoords;
out vec4 color;
void main() {
color = iColor * texture(sampler, texCoords);
if(color.a == 0)
discard;
}