You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

7 lines
142 B

uniform half4 colorGreen, colorRed;
half4 main(float2 coords) {
float x = 0.5, y = x * 2;
return (y == 1) ? colorGreen : colorRed;
}