$bumpmap

From Valve Developer Community
Jump to navigation Jump to search

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 to game_directory/materials folder.
  • where NormalmapA is the filename; ie NormalmapA.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 course 1.
$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" ?
$nodiffusebumplighting
"$nodiffusebumplighting" ?

See Also