$bumpmap: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
|||
| Line 37: | Line 37: | ||
"$nodiffusebumplighting" ? | "$nodiffusebumplighting" ? | ||
* dx9 | * dx9 | ||
* | * See [[Controlling Geometry Visibility and Compile Times#Dealing with fillrate issues]] | ||
=== See Also === | === See Also === | ||
Revision as of 11:16, 13 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
Pathis the filepath relative togame_directory/materialsfolder. - where
NormalmapAis the filename; ieNormalmapA.vtf. - Notice the
.vtffile extension is not used in VMT texture references.
Additional Parameters
$bumpscale
"$bumpscale" float
- Scales the $bumpmap by the
floatvalue. Default value is of course1.
$bumpmapframe
"$bumpmapframe" ?
- ?
$bumptransform
"$bumptransform" ?
- ?
$bumpmap2
"$bumpmap" "Path/NormalMapA" "$bumpmap2" "Path/NormalMapB"
- dx9
- Used by the WorldTwoTextureBlend shader to blend materials on Displacement surfaces (eg terrain).
- The percentage blend of each of the two textures is defined by alpha painting in Hammer.
$bumpmapframe2
"$bumpmapframe2" ?
- dx9
- See $bumpmap2
- ?
$nodiffusebumplighting
"$nodiffusebumplighting" ?
See Also
- Tutorial Normal Map Creation in The GIMP