$parallaxmap: Difference between revisions
Jump to navigation
Jump to search
Warning:Parallax maps are disabled in every Valve game, although since
an (unfinished) shader exists named ParallaxTest, which can be used as an alternative.
mNo edit summary |
Thunder4ik (talk | contribs) m (→See also: clean up, replaced: See Also → See also) |
||
Line 7: | Line 7: | ||
"$parallaxmap" <texture path> | "$parallaxmap" <texture path> | ||
"$parallaxmapscale" <float> // Scales the $parallaxmap Y value by this amount | "$parallaxmapscale" <float> // Scales the $parallaxmap Y value by this amount | ||
== See | == See also == | ||
* [[Parallax mapping]] | * [[Parallax mapping]] | ||
[[Category:Shader parameters|p]] | [[Category:Shader parameters|p]] |
Revision as of 01:36, 6 January 2024
$parallaxmap
is a s2 available in all 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.


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