2021-02-01 16:52:10 +00:00
|
|
|
uniform half4 colorGreen, colorRed;
|
|
|
|
|
2021-04-26 19:39:17 +00:00
|
|
|
half4 main() {
|
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
|
|
|
}
|