Search Unity

  1. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Question Recoloring a sprite

Discussion in '2D' started by JagGentlemann, Sep 17, 2023.

  1. JagGentlemann

    JagGentlemann

    Joined:
    Feb 10, 2016
    Posts:
    25
    Hi, I'm testing sprite recoloring so the player can choose a color for the characters they are playing as, and posibly for enemies to do something similar. I have the spritesheet for one of the characters, so I though it was as simple as importing another spritesheet with the new colors, but it seems that it isn't as simple as that. I tried using the Secondary Texture on the Sprite Editor but I have no idea what to do with it.

    I've searched for an answer but they get super complex or it isn't what I'm looking for. So, is there a simple way to do this or do I have to look into shaders and stuff like that? I've dabbled a little bit with those but I don't know how to use them.
     
  2. bugfinders

    bugfinders

    Joined:
    Jul 5, 2018
    Posts:
    1,408
    Well it can be that simple.
     
  3. JagGentlemann

    JagGentlemann

    Joined:
    Feb 10, 2016
    Posts:
    25
    Well, that's an enigmatic answer. Care to share?
     
  4. JagGentlemann

    JagGentlemann

    Joined:
    Feb 10, 2016
    Posts:
    25
    Well, I got my answer in the following 4 minute video: