$detail2: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
 
m (made redir)
 
Line 1: Line 1:
{{stub}}
#redirect [[$detail]]
 
== VMT syntax ==
"[[$detail]]" "Path/DetailmapA"
    "[[$detailscale]]" 0.5
"[[$detail2]]" "Path/DetailmapB"
    "[[$detailscale2]]" 0.5
 
* where '''<code>Path</code>''' is the filepath relative to the <code>game_directory/materials</code> folder.
* where '''<code>DetailmapA</code>''' is the filename; ie <code>DetailmapA.vtf</code>.
Notice the <code>.vtf</code> file extension is not used in VMT texture references.
 
== Additional parameters ==
===$detailscale2===
"$detailscale2" float
Scales $detail2 texture where <code>float</code> value is the scale factor.
 
== See Also ==
 
[[Category:List of Shader Parameters]]
[[Category:VMT Texture Reference]]

Latest revision as of 02:41, 13 July 2008

Redirect to: