Reply
Thread Tools Display Modes
Unread 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,342
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:	636
Size:	6.3 KB
ID:	3644  
__________________
| Simple is beautiful.
| Roth UI | Roth UI FAQ | GoogleCode | Zork | TDMOG

"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.
zork is offline   Reply With Quote
Unread 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: trinityui@live.com | Google Talk: trinityui@gmail.com
Maul is offline   Reply With Quote
Reply

Go BackWoWInterface » Developer Discussions » Graphics Help » Making glow happen

Thread Tools
Display Modes

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