- Home /
Change color sprite
I have two monster purple and red. Each about 100 identical sprite animation. Now I'm trying to reduce the size of the application. And I want to remove one of the atlas animations
Can I change the color of the monster without changing the color of his eyes? If I use "Tint" shader, it changes color completely. And I want to eyes were white.
Answer by Jeff-Kesselman · Apr 27, 2014 at 11:23 PM
Yes.
Make the eyes a separate sprite attached as a child to the character's body.
Then just change the tint on the main character body.
Perhaps I can write a shader that will change only certain colors? "palette change color"
You could, but I assume you want to keep the shading. If so you're going to have to translate the colors to HSV and just change the H, then translate back.
Your answer
![](https://koobas.hobune.stream/wayback/20220613143726im_/https://answers.unity.com/themes/thub/images/avi.jpg)