Re: textures with transparent holes
Posted by warlord on Sat Jun 4th at 7:13pm 2005
does anyone know how to make the textures that you can make certian parts transparent? (like the old hl textures with the blue)
only for source instead
ive alreaddy read the tut over at hl2world but it diddnt cover exactly what i needed

warlord
member
166 posts
46 snarkmarks
Registered: Sep 11th 2003
Location: americas
Occupation: ill show ye
the only problem with steam updating things every week is it doesent give the developers an incentive to playtest thier work, so we do it for them
Re: textures with transparent holes
Posted by ReNo on Sat Jun 4th at 7:22pm 2005
First of all you need to create what is called an alpha channel in your
image. Alpha channel's are most typically used as a transparency mask
for your image - letting you block out areas that are opaque and other
areas that can have variable transparency. To do this you'll wanna
crack open Photoshop / PSP and create a new alpha channel - to do this
in PS you click the "channels" tab on the same palette as the layers
tab, and press the "create new channel" button at the bottom of the
palette. Now select this channel, and any areas you paint with white
will be opaque and areas you paint black will be completely invisible.
Use different grey values to get partial transparency.
Finally you need to save your texture as a 32 bit TGA. You then compile
this into a VTF as usual, and write a VMF file that features the
"$transluscent" or "$alpha" commands depending on what effect you want.

ReNo
member
5457 posts
933 snarkmarks
Registered: Aug 22nd 2001
Location: Scotland
Occupation: Level Designer
Re: textures with transparent holes
Posted by warlord on Fri Jun 17th at 1:29am 2005
that tut doesent do it. it only shows how to make a whiole texture transperant. i need to make certian spots of a texture to be transperant

warlord
member
166 posts
46 snarkmarks
Registered: Sep 11th 2003
Location: americas
Occupation: ill show ye
the only problem with steam updating things every week is it doesent give the developers an incentive to playtest thier work, so we do it for them