Search Unity

Color Palettes for Sprites

Discussion in '2D Experimental Preview' started by 1SDAN, Oct 15, 2016.

  1. 1SDAN


    Jun 25, 2016
    I've been working on an NES inspired game with the 2D Experimental build for fun, and noticed that it would be really cool if there was built in support for color palettes. I really don't know how it would look in the inpector, though I imagine something like an array of "palette" objects would be one of the simplest ways to do it. Maybe a sort of "palette shader" could be used to implement it without needing to rewrite any of the Sprite object's code, if doing so would be too much work.

    I don't know anything about shaders though, as I've yet to look into learning them, so I wouldn't know how efficient that would be CPU/GPU wise compared to editing the code.