Thread Tools Display Modes
12-12-09, 05:29 PM   #1
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view addons
Join Date: Jul 2008
Posts: 1,740
Making glow happen

http://elitistjerks.com/blogs/zork/4...tbackdrop.html

The trick is the alpha layer of the border texture.

Important. The border texture must be 8-times wider than high.

Example:
16px height = 128px width

32px height = 256px width

etc.

Max-texture size sind 2048px.

So max-size is
256 x 2048px

When you call the backdrop function play a bit with the inset and the edgesize values but keep your tilesize at the size of your texture height.

Each border texure must consist 8 parts, those will be enough to create any edge- or side-texture needed.
Attached Thumbnails
Click image for larger version

Name:	glow64.png
Views:	917
Size:	6.3 KB
ID:	3644  
__________________
| Simple is beautiful.
| WoWI AddOns | GitHub | Zork (WoW)

"I wonder what the non-pathetic people are doing tonight?" - Rajesh Koothrappali (The Big Bang Theory)

Last edited by zork : 12-12-09 at 05:40 PM.
  Reply With Quote
12-12-09, 08:06 PM   #2
Maul
Ion Engines, Engage!
 
Maul's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2005
Posts: 401
Neat trick

I always was tempted to mess with the those types of background textures, but did not know about the "the border texture must be 8-times wider than high" rule. Now I do!
__________________

Twitter: @IonMaul | Windows Live: [email protected] | Google Talk: [email protected]
  Reply With Quote

WoWInterface » Developer Discussions » Graphics Help » Making glow happen


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off