kubi/kubi-ui-glium/shaders/fragment.frag

12 lines
156 B
GLSL
Raw Normal View History

2023-11-22 04:56:46 -06:00
#version 300 es
precision highp float;
2023-11-22 11:40:35 -06:00
2023-11-22 04:56:46 -06:00
out vec4 out_color;
2023-11-22 11:40:35 -06:00
in vec4 vtx_color;
2023-11-22 04:56:46 -06:00
void main() {
2023-11-22 11:40:35 -06:00
if (vtx_color.w <= 0.) discard;
out_color = vtx_color;
2023-11-22 04:56:46 -06:00
}