blob: 3af191fde50b25a8823b5dfe70df6915ef958352 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
// -*- mode: c -*-
#ifdef GLSL330
out vec4 fragColor;
#else
#define fragColor gl_FragColor
#endif
uniform vec4 color;
void main(void) {
if (color.a <= 0.0) {
discard;
}
fragColor = color;
}
|