9 lines
172 B
Plaintext
9 lines
172 B
Plaintext
|
|
uniform half4 colorGreen, colorRed;
|
||
|
|
|
||
|
|
half4 main(float2 coords) {
|
||
|
|
const bool x = true;
|
||
|
|
if (!x) return colorRed;
|
||
|
|
if (x) return colorGreen;
|
||
|
|
return colorRed;
|
||
|
|
}
|