$bumpmap: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
|||
Line 25: | Line 25: | ||
"$bumpmap2" "Path/NormalMapB" | "$bumpmap2" "Path/NormalMapB" | ||
* dx9 | * dx9 | ||
* Used for the [[WorldVertexTransition]] shader. | * Used for the [[WorldVertexTransition]] shader to blend materials on [[Displacement]] surfaces (eg terrain). | ||
=====$bumpmapframe2===== | =====$bumpmapframe2===== |
Revision as of 18:54, 8 November 2007
The $bumpmap VMT parameter specifies the VTF texture to use for the 'bump' or normalmap of the material surface.
Basic VMT Syntax
"$bumpmap" "Path/NormalmapA"
- where
Path
is the filepath relative togame_directory/materials
folder. - where
NormalmapA
is the filename; ieNormalmapA.vtf
. - Notice the
.vtf
file extension is not used in VMT texture references.
Additional Parameters
$bumpscale
"$bumpscale" float
- Scales the $bumpmap by the
float
value. Default value is of course1
.
$bumpmapframe
"$bumpmapframe" ?
- ?
$bumptransform
"$bumptransform" ?
- ?
$bumpmap2
"$bumpmap" "Path/NormalMapA" "$bumpmap2" "Path/NormalMapB"
- dx9
- Used for the WorldVertexTransition shader to blend materials on Displacement surfaces (eg terrain).
$bumpmapframe2
"$bumpmapframe2" ?
- dx9
- ?
$nodiffusebumplighting
"$nodiffusebumplighting" ?
- dx9
- ?
See Also
- Tutorial Normal Map Creation in The GIMP