Hello Guest

Author Topic: Sprite edge glow?  (Read 3159 times)

Majicpanda

  • 2D Toolkit
  • Jr. Member
  • *
  • Posts: 62
    • View Profile
Sprite edge glow?
« 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?

unikronsoftware

  • Administrator
  • Hero Member
  • *****
  • Posts: 9709
    • View Profile
Re: Sprite edge glow?
« Reply #1 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

zettam

  • 2D Toolkit
  • Newbie
  • *
  • Posts: 17
    • View Profile
Re: Sprite edge glow?
« Reply #2 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.