9 lines
155 B
Plaintext
9 lines
155 B
Plaintext
|
|
uniform half4 colorGreen, colorRed;
|
||
|
|
|
||
|
|
half4 main(float2 xy) {
|
||
|
|
switch (1) {
|
||
|
|
case 1: return colorGreen;
|
||
|
|
default: return colorRed;
|
||
|
|
}
|
||
|
|
}
|