This package includes shaders that allow you to quickly change the palette of a sprite via shader, reducing the need for multiple files. The shaders support palettes up to 1024px * 1px. The asset is free to use for all types of projects, including commercial. Note that preview sprites are not included.
The shader works by sampling the pixel of the source image and comparing it to a provided palette image, replacing matching pixels with a secondary palette image. This feature is useful for quickly changing materials on a sprite without needing hundreds of files for each color variation. The shader was created from the sprite lit default version of the URP pipeline and supports all its features, including the palette swap feature.





