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-14 21:30:13 +00:00
|
|
|
float x = 0.5, y = x * 2;
|
2021-02-01 16:52:10 +00:00
|
|
|
return (y == 1) ? colorGreen : colorRed;
|
2020-09-14 21:30:13 +00:00
|
|
|
}
|