BlueScarf
Member
Hello everyone!
I am new to Shaders, and don't really understand how they work. I've watched a couple of Youtube videos, and opened up some example projects, but I'm still confused.
I have a large collection of walking, running, jumping, sprites for my character. And in all of these sprites he has the same color shirt and pants. If I know the exact RGB value of these colors, is there an easy way to pass them through a shader to change their color? I'm assuming I'd have the shader code in the draw step of my character? I think I need some direction for what this would look like, and what exactly the Shader would contain?
I am using GMS2.
I am new to Shaders, and don't really understand how they work. I've watched a couple of Youtube videos, and opened up some example projects, but I'm still confused.
I have a large collection of walking, running, jumping, sprites for my character. And in all of these sprites he has the same color shirt and pants. If I know the exact RGB value of these colors, is there an easy way to pass them through a shader to change their color? I'm assuming I'd have the shader code in the draw step of my character? I think I need some direction for what this would look like, and what exactly the Shader would contain?
I am using GMS2.