View Single Post
02-14-14, 09:29 AM   #12
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view addons
Join Date: Jul 2008
Posts: 1,740
Here is how a possible result could look like. The portrait texture can be any texture:



First we have a plain background texture. That could be black or white in any opacity state.
That is overlayed with a desatured portrait texture. Blend mode needs testing.
On top of that is another red texture with a specific blend mode.

Next is the actual StatusBarTexture set to vertical.
Addionally we extract the statusbartexture object and anchor another texture on the statusbar object. The spark.

Sidenote for myself: x = r - sin(A)*r = 0.14645 // A = 45°, r = 0.5
Circle to Square = texture:SetTexCoord(.15,.85,.15,.85)
__________________
| 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 : 02-14-14 at 09:47 AM.
  Reply With Quote