$parallaxmap: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
(is mat_prallaxmaps 0 by default the cause of being unable to use it?)
Line 3: Line 3:


{{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.}}
{{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.}}
{{todo|<code>mat_parallaxmap</code> is <code>0</code> by default. Enabling it causes the game to freeze (tested for until about 10 minutes). Will managing to enable it make parallax maps work?}}
=== VMT Syntax ===
=== VMT Syntax ===
  "$parallaxmap" <texture path>
  "$parallaxmap" <texture path>

Revision as of 20:55, 4 June 2019

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.
Todo: mat_parallaxmap is 0 by default. Enabling it causes the game to freeze (tested for until about 10 minutes). Will managing to enable it make parallax maps work?

VMT Syntax

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

See Also