$detail2

From Valve Developer Community
Revision as of 03:12, 7 April 2008 by Beeswax (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Stub

This article or section is a stub. You can help by expanding it.

VMT syntax

"$detail" "Path/DetailmapA" 
   "$detailscale" 0.5 
"$detail2" "Path/DetailmapB" 
   "$detailscale2" 0.5 
  • where Path is the filepath relative to the game_directory/materials folder.
  • where DetailmapA is the filename; ie DetailmapA.vtf.

Notice the .vtf file extension is not used in VMT texture references.

Additional parameters

$detailscale2

"$detailscale2" float 

Scales $detail2 texture where float value is the scale factor.

See Also