issue when animating material color
Hello.
I have a mesh with 3 differents materials. I'm making an animation on a GameObject using this mesh, and at some point I change the color of one of these materials. But this results in changing the color of all the materials on my mesh, instead of just changing the color of the material I modified.
Here is the mesh before i tried to modify the blue material.
And this is what I get when I switch the color to green, for example.
Each material is a different material (I don't use the same instance for the 3 materials, but a different instance for each one).
I also get a warning that I don't really understand, in the inspector at the end of the material properties : "MaterialPropertyBlock is used to modify these properties".
Does anyone know how to fix this ?
Best regards, Bodz.
Your answer

Follow this Question
Related Questions
Color transtition not rendering 1 Answer
How do i remove colored circles on materials? 0 Answers
How can I fix my attack animation? 0 Answers
Material Mixing Colors? 1 Answer
GameObject Color is visible on editor but not in Android when build 1 Answer