Hello everybody,
i’d like to know if there’s a way of combining different materials, preferably at run-time.
Let’s say I have different materials set up for different kinds of metal, wood, plastic and fabric. Furthermore I have an asset of a chair at my hands, consisting only of a frame and the cushions. Now, I’d like to be able to put a certain material on the frame of the chair and a different one on the cushions.
Of course I was looking around for a solution. I fumbled around with material functions by putting every material setup I have into a function returning a material attribute. Then I created a template material using 2 material functions and a blend mask. I hoped I would be able to create an material instance of this and then set the material functions as parameters to be set at run-time. However, either I overlooked something, or this is not possible.
Now, I tried the high-level graphical way. Is there any way using blueprints or low-level C++ code? I’ll everything give a shot.
All in all, I just want to avoid having to create a material for every permutation of material functions. Thanks in advance for your help