2D Toolkit Forum

2D Toolkit => Support => Topic started by: Majicpanda on May 06, 2014, 02:18:16 am

Title: Sprite edge glow?
Post by: Majicpanda on May 06, 2014, 02:18:16 am
Is there any OnMouseEnter and exit type implementation I could do to make a sprite have a glow around it without having to make exact size glow for each sprite?
Title: Re: Sprite edge glow?
Post by: unikronsoftware on May 06, 2014, 11:29:33 am
No there isn't, its not trivial to make a glow effect like this unless you use post processing, and that costs a lot of gpu
Title: Re: Sprite edge glow?
Post by: zettam on May 07, 2014, 03:17:58 am
Maybe you can create a generic glow and just scale it depending on the sprite size?
It surely depends on the situation, but this generally works for most cases.