$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 |
mNo edit summary |
||
| (14 intermediate revisions by 10 users not shown) | |||
| Line 1: | Line 1: | ||
{{ | {{stub}} | ||
{{this is a|shader parameter|name=$parallaxmap}} 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 [[height map]]. | |||
{{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.}} | |||
=== | === VMT Syntax === | ||
"$parallaxmap" <texture path> | |||
"$parallaxmapscale" float | "$parallaxmapscale" <float> // Scales the $parallaxmap Y value by this amount | ||
== See also == | |||
* [[Parallax mapping]] | |||
[[Category:Shader parameters|p]] | |||
* | |||
[[ | |||
[[Category: | |||
Latest revision as of 12:01, 28 November 2025
$parallaxmap is a material shader parameter 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 height map.
VMT Syntax
"$parallaxmap" <texture path> "$parallaxmapscale" <float> // Scales the $parallaxmap Y value by this amount