WebGL effect - Replace color.
You select the RGB tone to replace with another RGB tone.
This only works if you know the exact RGB values inside the sprite, right? Lets say a sprite has antialias, blur, etc. There could be 200+ colors on something simple for every shade, I still think HSL is the only way. I was just looking for any tips, tricks or approach.
But yes. I could use that easily if I had draw the sprites to exact colors and planned for it in advance, but I didn't :(
Lets say I had a penguin. I could easily make it look different if I just switched out the black portion. But on my sprites, I have purples, greens, reds, pinks, etc. There is no way to account for the colors unfortunately.