$bumpmap: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
 
mNo edit summary
Line 1: Line 1:
'''The $bumpmap shader parameter specifies the [[VTF]] texture to use for the 'bump' or normalmap of the material surface.'''
'''The $bumpmap [[VMT]] parameter specifies the [[VTF]] texture to use for the 'bump' or normalmap of the material surface.'''


=== Basic VMT Syntax ===
=== Basic VMT Syntax ===

Revision as of 16:33, 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 to game_directory/materials folder.
  • where NormalMapA is the filename; ie NormalMap.vtf.
  • Notice the .vtf file extension is not used in VMT texture references.

Additional Parameters

$bumpmap2
"$bumpmap" "Path/NormalMapA" 
"$bumpmap2" "Path/NormalMapB" 


See Also