I basically want to draw things (colors, textures, shapes) over another sprite or shape, but nothing outside the sprite would be drawn. Like a blood on walls effect, or a sprite being covered in paint.
I don't know shader stuff at all, and from what I read I might need to use viewports or canvasitems, but I don't know much about those either.
I am starting to learn godot, coming from gamemaker. In gamemaker you could create a surface, disable the color channels so only the alpha values are being drawn, draw the sprite you want to be drawn over, enable the colors again but disable the alpha channel, then draw the mask.
Is there anything similar or an equivalent surface/color channels control in godot? If not, how would i achieve this?
Thank you for any help!