- Home /
Character Material Layers
Hello there,
I've created my 3D human character and I was thinking how should I create clothing for this character. The most basic way is only a texture.. But there are some issues I ran into: The character model is single mesh, so..
I will create a single texture with all the body pieces
Then character in-game will find a new equipment piece, let's say boots
Ok, I will create combination of these new boots and the old equipment
Then character in-game will find a chest piece.. As you can see this is getting complicated, it's impossible to do all these equipment combinations So my question is:
Can I somehow create a material or shader, that will contain body pieces? Like one diffuse for chest, one diffuse for legs etc? Something like Layers? I've tried more materials per one single mesh, this is one possible solution, but still there are some issues, the main issue is perfomance, even Unity itself says that more materials per one single mash it's not good for perfomance.
I just need to find out how can I easily change body parts (even the length of the sleeve for example) Any suggestions?
You need use multiple materials, and submesh you model, export the model with a material defined for each part when you import in unity you will have the mesh with submeshes you only need set the material array.
in some cases you will need divide the model in small object if you need different shapes parts.
But it's character, what about rigging and animations, wouldn't submeshing the model cause issues?