Help Making Overlay Textures.

OK so I’m making a custom campaign for Left 4 Dead 2, and I’m making custom overlay textures for it (custom graffiti textures, to be exact). I make them in Photoshop and use an alpha layer to make it translucent, but when I place it in HAMMER, it has a white background to it!

Image of the texture as it appears in HAMMER

Image of the texture as it appears in the materials browser

Coding for the VMT file

	"$basetexture" "graffiti/evocity01"
	"$translucent" 1
	"$vertexalpha" 1

see if this helps you out

First off ‘DecalModulate’ shader, is not going to do what you want it to do. DecalModulate was meant for bulletholes and damage decals and have gray values.

Change the shader to LightmappedGeneric {}

Add $decal 1
Add $decalscale 0.25
Remove $vertexalpha, doesn’t need to be there.

If you saved your decal as a TGA with 32-bit compression, and with an alpha channel, you should be fine.

OK it’s finally working now!
I had to change it to “$alphatest” 1 and had to redo the way I was making the alpha masks, but it’s finally working now. Thanks for the help guys!