I want a node work like IF-Else.
I was thinking the “Code Expresson” work like C++… but i was wrong…
So… in this case, i want to use the Base Color ‘OR’ the emissive Color (Only one of them)
So, I tried this Code but it is not working like I expected.
return (Bool ? BaseColor=A : Emissive=A);
Any way to do what i want?
Thank you so much!!
UPDATE:
Ok… this way does work!!
But seems to be an unnecessarily complicated way.
How can i do the same in a single custom node?
Thank you so much!!

