LightmappedGeneric: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
"lightmappedgeneric" {
'''<code>LightmappedGeneric</code>''' is the shader most commonly used to render [[brush]]es and other [[lightmap]]ped surfaces.
  "$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 ===
== Supported effects ==
* VTF Texture References:
: [[$basetexture]]
:: [[$basetexturetransform]]
:: [[$selfillum]]
::: [[$selfillumtint]]
:: [[$basetexturenoenvmap]] (dx9)
: [[$basetexture2]]
:: [[$basetexturetransform2]]
:: [[$basetexture2noenvmap]] (dx9)
: [[$bumpmap]]
:: [[$bumpmapframe]]
:: [[$bumptransform]]
:: [[$nodiffusebumplighting]] (dx9)
: [[$bumpmap2]] (dx9)
:: [[$bumpmapframe2]] (dx9)
: [[$detail]]
:: [[$detailframe]] (dx9)
:: [[$detail_alpha_mask_base_texture]] (dx9)
:: [[$detailscale]]
: [[$envmapmask]]
:: [[$envmapmaskscale]] (dx8)
:: [[$envmaskframe]]


* Cube Map reflections:
*<code>[[$bumpmap]]</code> and <code>[[$ssbump]]</code>
: [[$envmap]]
*<code>[[$decal]]</code>
:: [[$envmapcontrast]]
*<code>[[$detail]]</code>
:: [[$envmapframe]]
*<code>[[$envmap]]</code>
:: [[$envmapsaturation]]
*<code>[[$lightmaptint]]</code>
:: [[$envmaptransform]] (dx9)
*<code>[[$outline]]</code>
:: [[$envmaptint]]
*<code>[[$seamless_scale]]</code>
:: [[$envmapmask]]
*<code>[[$translucent]]</code> and <code>[[$alpha]]</code>
::: [[$envmapmaskscale]] (dx8)
::: [[$envmaskframe]]


* (unknown ...)
== See also ==
: [[$frame2]] (dx9)
 
: [[$fresnelreflection]]
*<code>[[WorldVertexTransition]]</code>
: [[$albedo]] (dx9)
*<code>[[LightmappedTwoTexture]]</code>


[[Category:List of Shaders]]
[[Category:List of Shaders]]
[[Category:Stubs]]
[[Category:Stubs]]

Revision as of 00:54, 13 July 2008

LightmappedGeneric is the shader most commonly used to render brushes and other lightmapped surfaces.

Supported effects

See also