Copy link to clipboard
Copied
Hello Peerps, i am new to the world of functions in Substance Designer. Currently i have 5 materials i want to switch between, I noticed the material switch node but there does not seem to be a multi material switch node.
Is it possible to change the switch/boolean in the material switch node to an integer? If so any support or information would be appreciated.
Pretty much trying to set the material switch up like the Grayscale Multi switch with a get number and get selection integer.
Thanks again and i hope you peeps have a great day.
Hey Matthew,
you can easily chain multiple Material-Switches together, depending on the amount of your input Materials.
Then you create one parameter for the parent graph. I called it int_selector, which lets you choose the material you want to output.
Inside the swith parameter of each Material-Switch you make a comparison, if it's greater than the last material index (I hope this is understandable)
This goes into the first Material-Switch Node
This goes into the next Material-Switch Node
And so
...Copy link to clipboard
Copied
Hey Matthew,
you can easily chain multiple Material-Switches together, depending on the amount of your input Materials.
Then you create one parameter for the parent graph. I called it int_selector, which lets you choose the material you want to output.
Inside the swith parameter of each Material-Switch you make a comparison, if it's greater than the last material index (I hope this is understandable)
This goes into the first Material-Switch Node
This goes into the next Material-Switch Node
And so on..
There are way better and faster ways to do this, but for the sake of simplicity this would be my suggestion.
All the best Marco
Copy link to clipboard
Copied
Thank you so much for the info, the photos are also a big help much appreciated!
Copy link to clipboard
Copied
I'm glad I could help. If you have more questions, don't hesitate to contact me.
All the best Marco