From Valve Developer Community
Revision as of 00:12, 9 November 2007 by Beeswax (talk | contribs)

Jump to: navigation, search

The $parallaxmap VMT parameter specifies the VTF texture to use for the 'sub-vertex modelling' or parallaxmap of the material surface. Warning: parallax maps are not currently supported in the Source Engine. I'm only guessing this is how it would work.

Basic VMT Syntax

"$parallaxmap" "Path/ParallaxmapA" 
  • where Path is the filepath relative to game_directory/materials folder.
  • where ParallaxmapA is the filename; ie ParallaxmapA.vtf.
  • Notice the .vtf file extension is not used in VMT texture references.

Additional Parameters

"$parallaxmapscale" float
  • Scales the $parallaxmap by the float value. Default value is of course 1.

See Also