Expose node paramaters

Hello!

I’m wondering if there’s a way to expose parameters in the pre-built nodes for the material editor. I’m wanting a way to change the scale and quality of a noise node without having to go into the material editor each time I want to change it. Is there any way to do this?

Thanks!

Hey there! Technically no, but we can do something equivalent.

For scale, you can create your own scalar parameter and multiply it by the Position and FilterWidth inputs before feeding them into the Noise node. It has the exact same effect.

For quality, it’s more cumbersome. There are only four valid values, 1 through 4. You could use a scalar parameter and several If+Noise nodes to get the best editing experience, but it’d be terrible in terms of performance as you’d have 4 copies of the noise node at runtime. Or you could add a few static switch parameters and get a weird combination of boolean parameters but at least there’d be no performance hit. Neither is perfect, unfortunately.