Difference between revisions of "WorldTwoTextureBlend"

From Valve Developer Community
Jump to: navigation, search
m (Additional Parameters: Typo.)
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 19: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:Do not confuse this shader with the WorldVertexTransition shader used for displacement surfaces.

Basic VMT Syntax

WorldTwoTextureBlend ?

Additional Parameters

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