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.
16 lines
244 B
16 lines
244 B
7 months ago
|
uniform half4 colorGreen, colorRed;
|
||
|
|
||
|
inline half4 elseBody() {
|
||
|
half4 x = colorGreen;
|
||
|
return x;
|
||
|
}
|
||
|
|
||
|
half4 main(float2 coords) {
|
||
|
half4 c = colorRed;
|
||
|
if (colorGreen.g == 0)
|
||
|
;
|
||
|
else
|
||
|
c = elseBody();
|
||
|
return c;
|
||
|
}
|