Chucklefish Games delved into the process of how they achieve palette swapping in their upcoming Advance Wars inspired medieval strategy game Wargroove today.
While all of the games different factions have a different color associated with them, the developers initially designed every unit the red team color palette. The assets are then then put through a converter that outputs a grayscale image of the design. They then use a shader to color in the color palette for each faction and character’s skin tone.
Palette swapping was also useful for the developers when crafting multiplayer, as players are able to override the colors during a multiplayer match in order to differentiate themselves from their opponents. Chucklefish Games is also looking into providing color blind friendly palettes to make factions more distinguishable to all players.
You can look at some images that help detail the process below. Wargroove is coming to Nintendo Switch, PC, and Xbox One later this year.