Is there a way to create toggle visibility for material parameters?

Hi!
I’m working on a parent material for material instance.
There are some parameters only used for specific purposes so I would like to add toggle visibility for these functions.

So for example,
I have a StaticBoolParameter for Use Detail NR.
There is a texture map input for Detail NR.
I would like to have the texture input to be invisible when Use Detail NR is set to False and visible when Use Detail NR is set to True.

Is there a way to set this?

Thanks in advance!

If anyone is looking for how to create toggle visibility for the material parameters, I recommend using material function.
I used StaticBool Parameter, Function Input, and Switch node to solve this issue.

Hope this helps!

1 Like

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