1uniform half4 colorGreen, colorRed; 2 3half4 main(float2 coords) { 4 switch (int(colorGreen.g)) { 5 default: return colorGreen; 6 } 7} 8