- Home /
Add glow effect around UI Layout
I have a simple white Layout above a pink background and I just want to add a glow effect around this white layout :
This is the properties of my layout :
Do you know how to achieve this ?
Answer by Naphier · Oct 21, 2016 at 03:16 AM
Easiest way is to make an image for the glow. Just in photoshop add outer glow. Forget what it's called in GIMP, but I'm sure there is similar.
Good to hear. 9-slice would be the way to go! Please accept this as the answer. Thanks!
Answer by iMagesBlues · Oct 21, 2016 at 09:52 AM
A quick but semi-expensive solution is to add an Outline component in your graphics. Then use the Blur/Quick Blur image effect from Unity Standard assets. You may need to render it in a different camera though.
Advantages - you can control the size, color, amount of the blur just in the inspector. You can also use other sprites as well, other than a white rectangle. Disadvantages - image effects uses more resources to render.
The outline component is pretty awful, maybe with the quick blur it's not so bad... $$anonymous$$uch easier to simply design your images correctly.