Search code examples
unity-game-engineskinfbx

Unity FBX problems


I'd like to make whale's color different.

one would rendered this skin, and other would be another one.

but when I try to edit color, two of them's colors are changed concurrently.

their skin follow last one.

what should I do?

enter image description here


Solution

  • In order to optimize rendering, when two identical objects are using the same material or mesh, it is actually the same instance that is used. Simply, your two whales are using the same material. This is to save draw calls.

    So when you change it, it changes for both.

    The solution is to duplicate the material and assign it to one of them. Now you can change one without affecting the other. You also added one extra draw call.