

unfortunately I can't find anyone actually giving understand information on how it works and how to make and use shaders.Īll I've managed to find is people showing off what shaders can do or providing their own shaders. I've tried looking into the idea of using shaders for it since from what I've read it sounds like thats a way to do it. I kinda pity anyone making an RPG or anything similar since they wouldn't be able to just do simple color swapping, but have to actually make entirely new sprites.

If I further broke my objects down into more objects, a pre-determined color part of the object and a part that is easily altered by blending, then I'd end up having even more sprites and having even more things to have to coordinate together during animation. Currently I have seperate sprites for each player color, but now that I'm at the point of having to actually do various animations and things its just turning into a massive chore and a huge amount of sprites despite not having many different types of units in my game. I was hoping to have my units have a part of them showing the color of the player that is in control of them. I figured that since it was easily doable in the sprite editor there would likely be some form of sprite, color, or draw function that would allow you to do it. there really isn't a simple and efficient way to do color or palette swapping?
