Me blogging about random interface topics.
How to create an outer glow by using SetBackdrop
What I'm going to describe here is a technique that is used by Neal and Garry to create outer glows of any color for any frame in any size with the need of only one texture.
This is done by making full use of the SetBackdrop Widget.
Before we start we need two textures.
- one for the background
- one for the outer glow
Both textures will be of white color. The alpha layer of the background texture will be filled with full white aswell.
The trick comes with the alpha layer of the glow (edge) texture. [glow_alpha.gif]

This texture is much wider, in fact inside of the glow texture are 8 textures and the SetBackdrop uses any of those parts for specific parts of the border.
Thanks to the SetBackdrop function call the size of the origin-frame doesn't matter.
Check the glow.lua for more.
This can be used to add cool outer glows to any frames that allow the use of SetBackdrop.
Mark the attached images with your mouse to see the. They are white and thus "invisible" at first.
For possible results check the shapebar and the bar images.
Link to Garry's mod: xuButtonShadow : WoWInterface Downloads : Miscellaneous
This is done by making full use of the SetBackdrop Widget.
Before we start we need two textures.
- one for the background
- one for the outer glow
Both textures will be of white color. The alpha layer of the background texture will be filled with full white aswell.
The trick comes with the alpha layer of the glow (edge) texture. [glow_alpha.gif]

This texture is much wider, in fact inside of the glow texture are 8 textures and the SetBackdrop uses any of those parts for specific parts of the border.
Thanks to the SetBackdrop function call the size of the origin-frame doesn't matter.
Check the glow.lua for more.
This can be used to add cool outer glows to any frames that allow the use of SetBackdrop.
Mark the attached images with your mouse to see the. They are white and thus "invisible" at first.
For possible results check the shapebar and the bar images.
Link to Garry's mod: xuButtonShadow : WoWInterface Downloads : Miscellaneous
Total Comments 0
Comments
Total Trackbacks 0
Trackbacks
Recent Blog Entries by zork
- How to handle SetBackdrop and do 1px stuff in just one call (10/26/10)
- Bringing the WOW to your interface (09/21/10)
- oUF_Simple - oUF 1.4 tutorial layout (06/29/10)
- How to create an outer glow by using SetBackdrop (12/09/09)
- Make textures rotate without the need of onUpdate (10/26/09)





