Hello,
I wanted to make a Material Function, that returns me a Material, corresponding to a float, which is passed as an argument. A kind of ‘getMaterialByIndex’ method.
When using this Function, it seems to return a float.
From which I’ve concluded, that the ‘If’ node returned this float.
But according to the Documentation, it should return the Material Attributes. At least that is what I’ve expected.
Is that a Bug or am I doing something wrong? And what can I do in order to get the Attributes?