2020-09-17 22:20:26 +00:00
|
|
|
|
2021-02-01 16:52:10 +00:00
|
|
|
out vec4 sk_FragColor;
|
|
|
|
uniform vec4 colorGreen;
|
|
|
|
uniform vec4 colorRed;
|
|
|
|
vec4 main() {
|
2021-03-04 15:19:48 +00:00
|
|
|
vec4 c = abs(vec4(1.0));
|
|
|
|
if (vec4(1.0) != c) {
|
2021-02-09 23:29:40 +00:00
|
|
|
return colorRed;
|
|
|
|
} else {
|
2021-02-01 16:52:10 +00:00
|
|
|
return colorGreen;
|
|
|
|
}
|
2020-09-17 22:20:26 +00:00
|
|
|
}
|