Search Unity

  1. Unity Asset Manager is now available in public beta. Try it out now and join the conversation here in the forums.
    Dismiss Notice
  2. Unity 6 Preview is now available. To find out what's new, have a look at our Unity 6 Preview blog post.
    Dismiss Notice
  3. Unity is excited to announce that we will be collaborating with TheXPlace for a summer game jam from June 13 - June 19. Learn more.
    Dismiss Notice

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.