- Apr 14, 2013
- 663
- 343
I made an overlay in photoshop, then extracted it to .vtf.
As all overlay signs, the overlay is rectangular, and it has two transperent (photoshop transperent) "lines" so it could be rectangular.
The vmt is fine:
The problem is that in hammer, in vtfedit, and I assume that in game as well, it looks like this:
(marked what should be the edges with red)
How to make it transperent?
As all overlay signs, the overlay is rectangular, and it has two transperent (photoshop transperent) "lines" so it could be rectangular.
Code:
HERE:
@=opaque (actual sign)
*=transperent
************************************
************************************
@@@@@@@@@@@@@@@@
@@@@@@@@@@@@@@@@
@@@@@@@@@@@@@@@@
@@@@@@@@@@@@@@@@
************************************
************************************
The vmt is fine:
Code:
"LightmappedGeneric"
{
"$baseTexture" "takabuschik/signs/sign_biohazard010b"
"$decal" 1
"$decalscale" 0.25
"$alphatest" 1
"%keywords" "tf"
}
The problem is that in hammer, in vtfedit, and I assume that in game as well, it looks like this:
(marked what should be the edges with red)
How to make it transperent?