$parallaxmap: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
No edit summary
Line 1: Line 1:
{{warning|parallax maps are not currently supported in the Source Engine. I'm only guessing this is how it would work.}}
{{warning|parallax maps are not currently supported in the Source Engine.}}
* See [[Parallax mapping]].
* See [[Parallax mapping]].
'''The $parallaxmap [[VMT]] parameter specifies the [[VTF]] texture to use for the 'sub-vertex modeling' or parallaxmap of the material surface.'''
'''The $parallaxmap [[VMT]] parameter specifies the [[VTF]] texture to use for the 'sub-vertex modeling' or parallaxmap of the material surface.'''

Revision as of 13:38, 25 September 2008

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