WorldTwoTextureBlend: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (Added note to avoid further confusion.)
Line 1: Line 1:
A partially transparent detail texture is blended on top of the base texture, according to the alpha channel of the detail texture.
A partially transparent detail texture is blended on top of the base texture, according to the alpha channel of the detail texture.
{{note|Do not confuse this shader with the [[WorldVertexTransition]] shader used for displacement surfaces.}}


===Basic VMT Syntax===
===Basic VMT Syntax===
Line 11: Line 12:
* $detailscale <float>
* $detailscale <float>
* $surfaceprop <type>
* $surfaceprop <type>




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

Revision as of 12:44, 12 February 2008

A partially transparent detail texture is blended on top of the base texture, according to the alpha channel of the detail texture.

Note.pngNote:Do not confuse this shader with the WorldVertexTransition shader used for displacement surfaces.

Basic VMT Syntax

Stub

This article or section is a stub. You can help by expanding it.

WorldTwoTextureBlend ?

Additional Parameters

  • $basetexture <texture>
  • $detail <texture>
  • $detailscale <float>
  • $surfaceprop <type>