$parallaxmap: Difference between revisions
Jump to navigation
Jump to search
Warning:parallax maps are not currently supported in the Source Engine.
Craziestdan (talk | contribs) No edit summary |
m (category) |
||
| Line 19: | Line 19: | ||
[[Category:List of Shader Parameters]] | [[Category:List of Shader Parameters|P]] | ||
[[Category:VMT Texture Reference]] | [[Category:VMT Texture Reference]] | ||
[[Category:Stubs]] | [[Category:Stubs]] | ||
Revision as of 02:28, 13 August 2010
- See Parallax mapping.
The $parallaxmap VMT parameter specifies the VTF texture to use for the 'sub-vertex modeling' or parallaxmap of the material surface.
Basic VMT Syntax
"$parallaxmap" "Path/ParallaxmapA"
- where
Pathis the filepath relative togame_directory/materialsfolder. - where
ParallaxmapAis the filename; ieParallaxmapA.vtf. - Notice the
.vtffile extension is not used in VMT texture references.
Additional Parameters
$parallaxmapscale
"$parallaxmapscale" float
- Scales the $parallaxmap by the
floatvalue. Default value is of course1.