
Color Palette Swapper is a set of 5 shaders based on the Unity Sprite Shader designed to replace colors from Sprites using Texture Palettes.
You can use the built-in or the new UR pipeline.No need of additional files: just drag and drop the textures palettes on the shader properties and see your sprite with a new set of colors;Save both computer memory and development time: one sprite can have multiple color variations;You can use Animator/Animation components to key animate your sprite frames;5 shaders available: all based on Unity Sprite Shader Diffuse (built-in) and Lit (URP) versions.Play the WebGL DEMOSee the full documentation for more info!Swap Shader: the same Unity Default Sprite shader + option to swap colors based on palettes;Swap Diffuse Shader: the same Unity Diffuse Sprite shader + option to swap colors based on palettes and interacts with lights;Optimization: uses shaders to optimize the sprite swapping process;Controller components: MonoBehaviour scripts components to easily swap palettes during gameplay;Documentation: source code is fully documented;Compatibility: Unity 2019, 2020 and 2021 LTS versions.