Hello there, I am trying to make a Decal of a Light Switch for use in an RP Map, I have the texture sized as a 64x64 or 32x32 and I generate the .vmt and .vtf files fine but whilst in Hammer it doesn't appear correctly, that is to say it flickers from being fully visible. Also, the Alpha does not appear to be working either, as it appears as pure black despite that I had ensured I saved it as 32 bit and disabled Compress RLE. Does anyone know what might be the problem?
Alright, (you should post this in mapping question megathread) The flickering in hammer is unfixible, but it looks fine in game.
in your vmt it should look like this.
[CODE]"Lightmappedgeneric"
{
$alphatest 1
}[/CODE]
Actually, it should look like this:
[CODE]"LightmappedGeneric"
{
"$basetexture" "material-path-goes-here"
"$translucent" 1 // You can also use $alphatest if you'd like
"$decal" 1
"$decalscale" 0.25 // Feel free to change this depending on how large you want the texture to appear
}[/CODE]
Sorry, you need to Log In to post a reply to this thread.