$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.
No edit summary |
mNo edit summary |
||
Line 1: | Line 1: | ||
{{stub}} | {{stub}} | ||
'''The $parallaxmap [[VMT]] parameter specifies the [[VTF]] texture to use for the 'sub-vertex modeling' or parallaxmap of the material surface. | '''The $parallaxmap''' [[VMT]] parameter 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|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.}} |
Revision as of 09:13, 26 October 2023
The $parallaxmap VMT parameter 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