$parallaxmap: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (It freezes because the material system can't find any changes it can implement. So no, it cannot be renabled)
No edit summary
Line 9: Line 9:
== See Also ==
== See Also ==
* [[Parallax mapping]]
* [[Parallax mapping]]
[[Category:List of Shader Parameters|P]]
[[Category:Shader parameters|p]]

Revision as of 10:02, 15 August 2023

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