$parallaxmap

From Valve Developer Community
Revision as of 23:59, 29 November 2018 by Ficool2 (talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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, 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