LightmappedGeneric: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 1: Line 1:
  lightmappedgeneric
  "lightmappedgeneric" {
  "$basetexture" "Path/To/Vtf"
}
* The most common [[Shader]] used for brushwork textures.  
* The most common [[Shader]] used for brushwork textures.  
* Only the $basetexture line is required.
* Only the $basetexture line is required.

Revision as of 14:16, 11 November 2007

"lightmappedgeneric" {
  "$basetexture" "Path/To/Vtf"
} 
  • The most common Shader used for brushwork textures.
  • Only the $basetexture line is required.
  • A basetexture is multiplied by a lightmap.

Parameters

  • VTF Texture References:
$basetexture
$selfillum
$selfillumtint
$basetexturenoenvmap (dx9)
$basetexture2noenvmap (dx9)
$bumpmap
$bumpmap2 (dx9)
$bumpmapframe
$bumpmapframe2 (dx9)
$bumptransform
$nodiffusebumplighting (dx9)
$detail
$detailframe (dx9)
$detail_alpha_mask_base_texture (dx9)
$detailscale
$envmapmask
$envmapmaskscale (dx8)
$envmaskframe
  • Cube Map reflections:
$envmap
$envmapcontrast
$envmapframe
$envmapsaturation
$envmaptransform (dx9)
$envmaptint
$envmapmask
$envmapmaskscale (dx8)
$envmaskframe
  • (unknown ...)
$frame2 (dx9)
$fresnelreflection
$albedo (dx9)