2021-09-25 13:28:50 +00:00
|
|
|
|
2021-09-21 13:24:09 +00:00
|
|
|
out vec4 sk_FragColor;
|
|
|
|
uniform vec4 colorGreen;
|
|
|
|
uniform vec4 colorRed;
|
|
|
|
vec4 main() {
|
2021-09-25 13:28:50 +00:00
|
|
|
switch (int(colorGreen.y)) {
|
|
|
|
case 0:
|
|
|
|
default:
|
|
|
|
return colorGreen;
|
2021-09-21 13:24:09 +00:00
|
|
|
}
|
|
|
|
}
|