I can access and modify a scalar parameter just fine with a material instance dynamic. Is there a reason I can’t modify a switch parameter in the same way?
Thanks in advance!
I can access and modify a scalar parameter just fine with a material instance dynamic. Is there a reason I can’t modify a switch parameter in the same way?
Thanks in advance!
There is. Switches are MEANT to be static and unchangeable. The value you give a switch in your MID gets compiled into the shader code and the inactive branch is left out completely.
Thanks, that makes sense. So if I wanted to make, say, a dynamic switch, for the time being I should just run it as a scalar.