$detail
Jump to navigation
Jump to search
The $detail VMT parameter specifies the VTF texture to use for adding detail to the material surface.
- Greyscale image usually used (in conjunction with "$detailscale") to add higher resolution detail to the $basetexture.
Basic VMT Syntax
"$detail" "Path/DetailmapA" "$detailscale" float
- where
Pathis the filepath relative to thegame_directory/materialsfolder. - where
DetailmapAis the filename; ieDetailmapA.vtf. - where
floatis the scale factor - Notice the
.vtffile extension is not used in VMT texture references.