Difference between revisions of "$bumpmap2"

From Valve Developer Community
Jump to: navigation, search
Line 1: Line 1:
 
==Usage==
 
==Usage==
* '''Use in conjunction with [[$bumpmap]] for blending materials on [[Displacement]] surfaces with the [[WorldTwoTextureBlend]] shader.'''
+
* '''Use in conjunction with [[$bumpmap]] to specify a second Normalmap VTF for blending materials on [[Displacement]] surfaces with the [[WorldTwoTextureBlend]] shader.'''
 
* The percentage blend of each of the two textures is defined by alpha painting in Hammer.
 
* The percentage blend of each of the two textures is defined by alpha painting in Hammer.
 
* This is the Normalmap equivalent of [[$basetexture2]].
 
* This is the Normalmap equivalent of [[$basetexture2]].
Line 8: Line 8:
  
 
===$bumpmap2===
 
===$bumpmap2===
  "$bumpmap" "Path/NormalMapA"  
+
  "$bumpmap2" "Path/NormalmapB"  
"$bumpmap2" "Path/NormalMapB"
+
* Specifies the [[VTF]] to use as the second Normalmap; eg <code>NormalmapB.vtf</code>
 
* dx9
 
* dx9
  

Revision as of 21:34, 11 November 2007

Usage

  • Use in conjunction with $bumpmap to specify a second Normalmap VTF for blending materials on Displacement surfaces with the WorldTwoTextureBlend shader.
  • The percentage blend of each of the two textures is defined by alpha painting in Hammer.
  • This is the Normalmap equivalent of $basetexture2.
  • See Displacement for further information.

Available values

$bumpmap2

"$bumpmap2" "Path/NormalmapB" 
  • Specifies the VTF to use as the second Normalmap; eg NormalmapB.vtf
  • dx9


$bumpmapframe2

"$bumpmapframe2" ?
  • dx9
  • Used with $bumpmap2
  •  ?