WorldVertexTransition: Difference between revisions
Jump to navigation
Jump to search
Note:If a material with this shader is used on a non-displacement surface, the Source engine will generate a warning, saying that support for this is going away soon. However, the warning incorrectly calls the shader "WorldTwoTextureBlend". It should also be noted that this warning has been there for a couple of years - see Valve Time.
mNo edit summary |
(Expanded note, hopefully clearing up some confusion.) |
||
Line 1: | Line 1: | ||
{{stub}} | |||
* Used to blend materials on [[Displacement#Blended displacement materials (alpha channel painting)|Displacement]] surfaces (terrain). | * Used to blend materials on [[Displacement#Blended displacement materials (alpha channel painting)|Displacement]] surfaces (terrain). | ||
* 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. | ||
Line 5: | Line 8: | ||
===Basic VMT Syntax=== | ===Basic VMT Syntax=== | ||
WorldVertexTransition ? | |||
Line 11: | Line 14: | ||
* Use [[$basetexture2]] and [[$bumpmap2]] to define the second material. | * Use [[$basetexture2]] and [[$bumpmap2]] to define the second material. | ||
{{note| | {{note|If a material with this shader is used on a ''non-displacement'' surface, the Source engine will generate a warning, saying that support for this is going away soon. However, the warning incorrectly calls the shader "WorldTwoTextureBlend". It should also be noted that this warning has been there for a couple of years - see [[Valve Time]].}} | ||
[[Category:List of Shaders]] | [[Category:List of Shaders]] |
Revision as of 12:31, 12 February 2008
- Used to blend materials on Displacement surfaces (terrain).
- The percentage blend of each of the two textures is defined by alpha painting in Hammer.
- Two basetextures are vertex lit.
Basic VMT Syntax
WorldVertexTransition ?
Additional Parameters
- Use $basetexture2 and $bumpmap2 to define the second material.
