blob: 93d9818f5e4b7484a2f74e9c158e854f8a28d254 [file] [log] [blame]
out vec4 sk_FragColor;
uniform vec4 colorGreen;
uniform vec4 colorRed;
vec4 main() {
vec4 color;
switch (int(colorGreen.y)) {
case 0:
color = colorRed;
break;
case 1:
color = colorGreen;
break;
default:
color = colorRed;
break;
}
return color;
}