2020-09-15 14:10:43 +00:00
|
|
|
|
2020-09-15 20:09:11 +00:00
|
|
|
out vec4 sk_FragColor;
|
|
|
|
uniform vec4 color;
|
2020-09-15 14:10:43 +00:00
|
|
|
void main() {
|
2020-09-15 20:09:11 +00:00
|
|
|
vec4 c = color;
|
2021-03-03 21:13:45 +00:00
|
|
|
if (c.x >= 0.5) ; else {
|
2020-12-17 19:38:56 +00:00
|
|
|
c = color + vec4(0.125);
|
2020-09-15 14:10:43 +00:00
|
|
|
}
|
|
|
|
sk_FragColor = c;
|
|
|
|
}
|