I made a character that uses two sprites. One for the arms+gun, which controls gun aiming, shooting, etc; and one for the body, which includes torso+legs+head and does stuff like moving, jumping etc.
I like to outline my sprites black so that they contrast better with the background. How do I outline my character as a whole without overlapping borders? If i do the individual shader outline method, the outline for the arms+gun, who is in front, will obscure part of the body's sprite.
I thought about dynamically creating textures on the fly and adding a border to them, but that doesn't sound very optimal. Is there any other way?
Thanks.