Transparant textures

Ælement

Comfortably mediocre
aa
Dec 21, 2010
1,481
1,616
Transparant textures not transparent :(

Hai :3

Im working on a texture pack for TF2 that contains all the current minecraft blocks!

Now, some of the blocks are partially transparant. I have tried to save their textures, both as .tga and .png, and load them into VTFEdit. But the result looks like this:
25zif41.png


Did i do something wrong? Do i have to write something special in the .vmt file? Does it only look like that in hammer?

Thx in advance :3
 

Wander

L3: Member
Sep 16, 2010
148
55
There are multiple vtf data formats, make sure you pick one that supports alpha

I've used "DXT5" for some poster textures where I needed parts to be completely transparent
For partial transparency you might need "ARGB8888"

While saving you might also need to check the "Eight Bit Alpha" image flag
 

Pocket

Half a Lambert is better than one.
aa
Nov 14, 2009
4,696
2,580
Hmm. Do you happen to have Photoshop? Because the Photoshop VTF plugin automatically converts the transparency to an alpha channel as long as you select a preset that has "with alpha" in its description or a format with an "A" in its name like BGRA8888.

Also, since you're making a Minecraft theme, here's something that might interest you. You can specify that the filtering (sort of like antialiasing, but for textures) has the same jagged-edged quality as the original game by ticking the "Point Sample" box in your VTF file.