Modcraft - The community dedicated to quality WoW modding!

Content creation => Texturing and 2D Art => Topic started by: tok124 on October 22, 2015, 06:19:36 pm

Title: Transparency in Texture
Post by: tok124 on October 22, 2015, 06:19:36 pm
Hello, I have a texture with some transparancy. its a feather with transparent background, Im trying to import that to wow but its not transparent ingame. So what is needed for the trasparency to work?

What i have done in blender
1. (Material Tab) transparency > Alpha to 0
2. (Texture Tab) Influence > Diffuse > Check checkbox for Alpha.

Transparency works perfect in blender. Even when i do a render but it does not work ingame. So what am i doing wrong?
Title: Re: Transparency in Texture
Post by: sshroud on October 22, 2015, 07:46:49 pm
How did you convert the .blp? Not sure if all blp converters deals with the alpha channel. Also how is the texture used? Textures used in .WMOs needs a special flag set in the .WMO to handle transparency. Most texture sources should handle transparency just fine though.
Title: Re: Transparency in Texture
Post by: tok124 on October 22, 2015, 08:31:07 pm
Quote from: "sshroud"
How did you convert the .blp? Not sure if all blp converters deals with the alpha channel. Also how is the texture used? Textures used in .WMOs needs a special flag set in the .WMO to handle transparency. Most texture sources should handle transparency just fine though.
Thanks for reply. The texture is converted using BLP Converter. Its a console program. And its used as an shoulder item ingame
Title: Re: Transparency in Texture
Post by: tok124 on October 22, 2015, 10:47:56 pm
So... Does anyone have an BLP Converter that can handle Alpha Channel?
Title: Re: Transparency in Texture
Post by: sshroud on October 23, 2015, 11:20:45 am
Quote from: "tok124"
So... Does anyone have an BLP Converter that can handle Alpha Channel?

If you want a GUI with fine control over the transparency I'd recommend BLPlab (http://www.hiveworkshop.com/forums/tools-560/blp-lab-v0-5-0-a-137599/).
Title: Re: Transparency in Texture
Post by: Ascathos on October 24, 2015, 05:30:34 pm
Here are my personal notes on half-transparent weapons:

Test BLP (Knife_1h_DraenorCrafted_D_02_B_Alliance.blp, Build 6.1.2.19865) hat geschrieben:
256x256
encoding = 2 <compressed>
alphaBitDepth = 8
alphaEncoding = 7
9 mips
Format = BLP_DXT5 <DXT5>


And I use the following command in a cmd batch:
blpconverter8.exe /FBLP_DXT5 /V /E /P



--
The blpconverter.exe have a lot of capabilities that you need to explore. Sometimes, simply drag'n'drop them does not cut it. A few setups here and there 'n you are good to go.