2021-02-01 16:52:10 +00:00
|
|
|
uniform half4 colorGreen, colorRed;
|
|
|
|
|
2021-04-21 18:27:08 +00:00
|
|
|
half4 main(float2 coords) {
|
2020-09-17 22:20:26 +00:00
|
|
|
const float4 a = float4(0);
|
|
|
|
const float4 b = float4(1);
|
2021-05-14 11:59:55 +00:00
|
|
|
const float4 c = abs(b * 1);
|
2021-02-09 23:29:40 +00:00
|
|
|
if (a == b || b != c) {
|
2021-02-01 16:52:10 +00:00
|
|
|
return colorRed;
|
|
|
|
} else {
|
|
|
|
return colorGreen;
|
|
|
|
}
|
2020-09-17 22:20:26 +00:00
|
|
|
}
|