Turning a float value into a boolean in materials

Hello @ElKaWeh!

While there is no perfect solution to this, you do have a few other options available to you rather than just two static switches. You could use a component mask parameter or a channel mask parameter. Both offer up to 4 switches. The component mask parameter allows for the selecting of several checkboxes, while the channel mask offers a dropdown.


The main downside here is that you can not give the individual options names. The channel mask is searchable in the material editor, while for the component mask you must add a component mask, right click, and convert it to a parameter.

1 Like