okay, glad to know decals aren’t bad.
Do you think it would be cheaper though to have:
~10 master materials that use triplanar or other global shading methods and have more shader instructions ~200-300 but 0 - 2 texture samples
~1000 materials (many will be material instances though!) with 2-3 texture samples (for pbr channels) but minimal shader instructions (pretty much just the texture sample)
Material instances are each an additional draw call, material instancing doesn’t improve performance, it’s only there for organization and workflow reasons.
oh hmm i thought i was getting some perf benefits from material instances.
so it sounds like i should stick to the 10 master map route. would it be equal performance no matter how many material slots i use, as long as im using the same 10 mats. for example if i have 10 mats, 100 actors, each actor only uses 1 mat or each actor has 10 mat slots and uses every single mat
or would it be better to merge the entire level into one static mesh with 10 mat slots?