How to add borders in 2D sprites

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By Skydome

How do I add a black border to png sprites?
I’m using self modulate to add multiple color options but the border gets colored too. I’m wondering if I can add a border after importing the sprite.
Can anyone help me with this?

what do you mean with “borders”? like a black outline?

eons | 2018-09-23 14:57

Yes exactly, a black outline. It makes the sprites look better in my game.

Skydome | 2018-09-23 23:13

:bust_in_silhouette: Reply From: kidscancode

The “sprite_shaders” project in the Demo Projects has some examples of this.

enter image description here