From Valve Developer Community
Revision as of 04:24, 6 July 2018 by Pinsplash (talk | contribs) (reformatting and linking)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

WorldTwoTextureBlend is a lightmap shader used to render two albedos at the same time with a single material. It uses the $detail command to draw the uppermost albedo (unlike the command's normal usage). $detail must have an alpha channel if $basetexture is to be seen!

Note.png Note: Do not confuse this shader with WorldVertexTransition, which blends between textures but does not display one above the other.


    $basetexture    <texture>
    $detail         <texture with alpha channel>
    $detailscale    <float>// Behaves normally

Supported effects

This shader does not support $envmap.

See Also