This article's documentation is for anything that uses the Source engine. Click here for more information.

$parallaxmap

From Valve Developer Community
Revision as of 01:36, 6 January 2024 by Thunder4ik (talk | contribs) (→‎See also: clean up, replaced: See Also → See also)
Jump to navigation Jump to search

Stub

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

$parallaxmap is a s2 available in all Source Source games. It specifies the VTF texture to use for the 'sub-vertex modeling' or parallaxmap of the material surface. The texture used for this parameter is a Heightmap.

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