we are trying to build a material-switchnode inside maya, were we have for example 10 slots where we can connect different VRayMtls and then have another integer-field where we can choose which slot gets passed to the shadingEngine.
I saw that somewhere already and i know that it didn’t involve a lot of coding but i don’t really remember how it was done…
Do you mean the triple switch? If yes, then this is not the behaviour we need…
We just need a node where we can cycle through materials based on an interger that defines the materialslot we need. we don’t want to switch materials on different shapes!