$parallaxmap: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(overhauled the page)
No edit summary
Line 2: Line 2:
'''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.'''


{{warning|Parallax maps are disabled in every Valve game except for {{csgo}}, although it will appear [[Fullbright|unlit]].}}
{{warning|Parallax maps are disabled in every Valve game, although since {{as}} an (unfinished) shader exists named [[ParallaxTest]], which can be used as an alternative.}}
=== VMT Syntax ===
=== VMT Syntax ===
  "$parallaxmap" <texture path>
  "$parallaxmap" <texture path>

Revision as of 16:59, 29 November 2018

Stub

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

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

Warning.pngWarning:Parallax maps are disabled in every Valve game, although since Alien Swarm an (unfinished) shader exists named ParallaxTest, which can be used as an alternative.

VMT Syntax

"$parallaxmap" <texture path>
"$parallaxmapscale" <float> // Scales the $parallaxmap Y value by this amount

See Also