$parallaxmap: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
m (category)
Line 19: Line 19:




[[Category:List of Shader Parameters]]
[[Category:List of Shader Parameters|P]]
[[Category:VMT Texture Reference]]
[[Category:VMT Texture Reference]]
[[Category:Stubs]]
[[Category:Stubs]]

Revision as of 02:28, 13 August 2010

Warning.pngWarning:parallax maps are not currently supported in the Source Engine.

The $parallaxmap VMT parameter specifies the VTF texture to use for the 'sub-vertex modeling' or parallaxmap of the material surface.

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
"$parallaxmapscale" float
  • Scales the $parallaxmap by the float value. Default value is of course 1.


See Also