Is there an easy way to apply 1 pixel (or any pixel) wide stroke around sprites on run-time?
I have searched WebGL effects already but I could find any effect to suit to my problem. If there is an effect, please let me know.
Quick example what I mean:
h*t*t*p*s://www.dropbox.com/s/00d5u6z6n13xd5s/example.pdf?dl=0
Of course I could create a new sprite 2 px bigger than the target sprite and place bigger one behind the target sprite. That would create a "fake" stroke effect to the sprite. Problem is, I want to apply stroke around sprites which are animated. That means, I need to make 2 px bigger versions of every possible animated sprites. To me, that sounds not very efficient way.
Ideas and examples are welcome ^^
-M-