From Valve Developer Community
Jump to navigation
Jump to search
Stub
This article or section is a stub. You can help by expanding it.
Tool textures
Clip textures
Note:These use %compilenodraw instead of %compileclip to be accurate to original usage; clip brushes allow bullets to pass through!
materials/hlbasics/cr_matbark.vmt
vmt
"UnlitGeneric"
{
$basetexture "hlbasics/cr_matbark"
$alpha 0.5
$surfaceprop wood_solid
$nodecal 1 // nodraw draws decals by default
%compilenodraw 1
}
materials/hlbasics/cr_matcard.vmt
vmt
"UnlitGeneric"
{
$basetexture "hlbasics/cr_matcard"
$alpha 0.5
$surfaceprop cardboard
$nodecal 1 // nodraw draws decals by default
%compilenodraw 1
}
materials/hlbasics/cr_mathvymetal.vmt
vmt
"UnlitGeneric"
{
$basetexture "hlbasics/cr_mathvymetal"
$alpha 0.5
$surfaceprop metalvehicle
$nodecal 1 // nodraw draws decals by default
%compilenodraw 1
}
materials/hlbasics/cr_matleaf.vmt
vmt
"UnlitGeneric"
{
$basetexture "hlbasics/cr_matleaf"
$alpha 0.5
$surfaceprop grass // "foliage" uses dirt sounds; use "foliage_leaf" in L4D2
$nodecal 1 // nodraw draws decals by default
%compilenodraw 1
}
materials/hlbasics/cr_matmetal.vmt
vmt
"UnlitGeneric"
{
$basetexture "hlbasics/cr_matmetal"
$alpha 0.5
$surfaceprop metal
$nodecal 1 // nodraw draws decals by default
%compilenodraw 1
}
materials/hlbasics/cr_matwood.vmt
vmt
"UnlitGeneric"
{
$basetexture "hlbasics/cr_matwood"
$alpha 0.5
$surfaceprop wood_plank // or "wood_dense", if CSGO
$nodecal 1 // nodraw draws decals by default
%compilenodraw 1
}