Shader_Minifier
Shader_Minifier copied to clipboard
+= ternary
trafficstars
Input
void main() {
if (x) {
y += 1.;
} else {
y += 2.;
}
}
Current output:
void main(){y=x?y+1.:y+2.;}
I would expect the += operator to be preserved.