Moving out a `StaticSwitchParam` from a Material function into the Material

I have a Material function that uses a couple of StaticSwitchParam nodes. But I want to instead use function inputs and use boolean params in the material. For eg. my material function looks like this
image
I want to instead use function inputs, something like
image
This is causing some problems. Like I can’t figure out what nodes to use as the preview from boolean inputs. Moreover, I can’t use the function in my material as it keeps saying that the node is not connected.
image
I am not sure if the static bool param is even the correct one to use here.

Is there any way to do what I am trying to do here?

The input type has to be “Static Bool” and not “Bool”. That was all that was needed to fix this. I have no idea why these 2 exist separately though.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.