Hi,
Maybe I am over-thinking this issue, but I spend too much time assigning materials and think there must be a better way.
My situation:
- I have a few sets of models, each set shares the same UV space.
- I have multiple set of textures for each set of models, think The Sims if you will.
- While in-game, I have code to wire model and material together on demand, no problem.
- But while designing, I need to setup materials manually, for EACH SUB-MESHES, due to the way Unity mesh renderer works.
- AFAIK, the best way to avoid this is to export the same model using different material id, Unity will detect and setup material properly, then I only need to assign textures to materials. But that means I will have many duplicated models just for proper material setup.
- I am very close to writing my own editor script to assign material recursively. But before I do that:
Dear Unity users, can you tell me how you workaround this issue? Batch sub-meshes? Plugins (from Maya or Substance Painter)? Any workflow suggestions are welcomed.