$parallaxmap: Difference between revisions
Jump to navigation
Jump to search
Warning:parallax maps are not currently supported in the Source Engine. I'm only guessing this is how it would work.
mNo edit summary |
mNo edit summary |
||
Line 1: | Line 1: | ||
{{warning|parallax maps are not currently supported in the Source Engine. I'm only guessing this is how it would work.}} | |||
'''The $parallaxmap [[VMT]] parameter specifies the [[VTF]] texture to use for the 'sub-vertex modelling' or parallaxmap of the material surface.''' | '''The $parallaxmap [[VMT]] parameter specifies the [[VTF]] texture to use for the 'sub-vertex modelling' or parallaxmap of the material surface.''' | ||
=== Basic VMT Syntax === | === Basic VMT Syntax === |
Revision as of 17:13, 8 November 2007

The $parallaxmap VMT parameter specifies the VTF texture to use for the 'sub-vertex modelling' or parallaxmap of the material surface.
Basic VMT Syntax
"$parallaxmap" "Path/ParallaxmapA"
- where
Path
is the filepath relative togame_directory/materials
folder. - where
ParallaxmapA
is the filename; ieParallaxmapA.vtf
. - Notice the
.vtf
file extension is not used in VMT texture references.
Additional Parameters
$parallaxmapscale
"$parallaxmapscale" float
- Scales the $parallaxmap by the
float
value. Default value is of course1
.