I´m playing around for a few days with an character customization system for the first time, and I´m kinda overwhelmed about the possibilities.
As we`re developing some kind of RPG Game, we need a performant modular NPC creation system. Recently I stumbled across "FSkeletalMeshMerge"and implemented a function which merges my modular pieces into one Skeletal mesh and plays the right animation.
But now I really don`t know how to create my materials in an efficient way. I played around with layered Materials to have one “cost intensive” material and with different material instances with “Luos_textureCropper” (Material Function - Texture Cropper (with tutorial) - Unreal Engine Forums).
I noticed, that the FSkeletalMerge don
t really merges my Materials into one, so I dont get an performance boost Drawcalls wise. Is there any option to merge my Materials into one?
So my question is: How would you recommend building a performant material to optimize drawcalls/performance for a modular character system?