Emulating Palette Swapping In Unity

Turns out that doing true palette swapping in Unity is going to be a little bit difficult, so I came up with the next best thing, emulating it. Basically what I plan on doing is having multiple layers that make up each character. I’ve already created a system to sync up multiple GameObject animations to allow me to have separate animations for the body and legs, so all I need to do now is change the artwork to gray and add a Material with a tint to it. On top of this I’ll put a new layer representing the stuff that shouldn’t change color such as the skin and any extra details and then I’ll have more granular control over how to color the player, and other actors, in my game.

Here is how I am testing it out in PhotoShop:

Ember

Ember 2

Now I just need to implement this in Unity!

Subscribe To My Mailing List

Want to learn how to make a game? Not sure where to start? Even if you are a seasoned game maker there is still a lot you can learn from my mailing list. I'll be covering tips and tricks for how to build, release and market games each month.

Simply sign up for my mailing list and also get access to a 50% off discount code for my eBooks and other content. I promise to not spam your inbox!

Join Now