ludum_dare_42/res/shaders/s2ft/frag.gls

15 lines
220 B
Text
Raw Normal View History

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