Outline effect for any object in your game
Tested with:
- 3D models (skinned, solid, alpha, billboards...)
- 2D Sprites, sprite sheets, animations...
No artifacts, perfect outline, similar to Photoshop filter.
The effects uses a distance transform to calculate the stroke to apply in a post-effect shader. It works fast as hell and with any object in your game. Just because is a post-effect shader based on masking, it works with any object drawn in the screen, in a single pass.
There are many configuration options:
-Thicknes
-Blending (opacity)
-Outline color
-Blinking
-Glow on mouse enter
-Works with complex parent hierarchies
-Works with multimaterial objetcs
Demo scene included, see video tutorial.
ATTENTION: Doesn't work on mobile nor VR devices. Only desktop