2021-02-05 14:31:21 +00:00
|
|
|
uniform half4 colorGreen, colorRed;
|
|
|
|
|
2021-04-21 18:27:08 +00:00
|
|
|
half4 main(float2 coords) {
|
2020-09-16 19:32:21 +00:00
|
|
|
if (half4(0, 0, 1, 1) == half4(int4(0, 0, 1, 1)))
|
2021-02-05 14:31:21 +00:00
|
|
|
return colorGreen;
|
2020-09-16 19:32:21 +00:00
|
|
|
else
|
2021-02-05 14:31:21 +00:00
|
|
|
return colorRed;
|
2020-09-16 19:32:21 +00:00
|
|
|
}
|