Reply
 
Thread Tools Display Modes
Unread 07-15-10, 05:26 PM   #1
magges
An Aku'mai Servant
 
magges's Avatar
AddOn Author - Click to view addons
Join Date: May 2009
Posts: 36
.tga is not transparent - .png is

Hey ive a problem with the transparent of a texture.
Its always white instead of transparent.
If I save it as .png it works - but this format isnt supportet, correct?


thats how it looks like in photshop (okay a bit different cause i change the look but anyways)
Doesnt matter whats on the alpha channel its everytime the same: white border .. even if the whole alpha channel is white or black (dont know whats what atm).

Hope someone can help me there.

magges
magges is offline   Reply With Quote
Unread 07-16-10, 12:37 AM   #2
magges
An Aku'mai Servant
 
magges's Avatar
AddOn Author - Click to view addons
Join Date: May 2009
Posts: 36
Aah come on!
magges is offline   Reply With Quote
Unread 07-16-10, 01:36 AM   #3
Quokka
A Chromatic Dragonspawn
 
Quokka's Avatar
AddOn Author - Click to view addons
Join Date: Jun 2005
Posts: 196
save as png than convert to blp and you should be fine
Quokka is offline   Reply With Quote
Unread 07-16-10, 01:53 AM   #4
magges
An Aku'mai Servant
 
magges's Avatar
AddOn Author - Click to view addons
Join Date: May 2009
Posts: 36
Thanks
But now i did is like this:
- save as .png
- download gimp (...cause i own photoshop!)
- save in gimp as .tga
- works fine

aaargh.

Anyways ive a second question:

Code:
	if not AtlasLootDefaultFrame:IsShown() then
		text:SetText(textcolor.."AtlasLoot|r")
	else
		text:SetText(textcolorclicked.."AtlasLoot|r")
	end
wont work .. the text is always white (textcolor) ?:/
magges is offline   Reply With Quote
Unread 07-16-10, 01:56 AM   #5
Xabora
A Murloc Raider
 
Xabora's Avatar
AddOn Author - Click to view addons
Join Date: Jul 2006
Posts: 4
Use Paint.Net, GIMP or another decent paint program and make sure the TGA file has an Alpha Layer.
http://en.wikipedia.org/wiki/Alpha_compositing
Xabora is offline   Reply With Quote
Unread 07-16-10, 02:12 AM   #6
dr_AllCOM3
A Cyclonian
 
dr_AllCOM3's Avatar
AddOn Author - Click to view addons
Join Date: Nov 2006
Posts: 40
Add a black layer (Ebene) behind everything, save as tga with standard parameters and you're done. Works fine for me in Photoshop.
dr_AllCOM3 is offline   Reply With Quote
Reply

Go BackWoWInterface » Developer Discussions » Graphics Help » .tga is not transparent - .png is

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