WorldTwoTextureBlend: Difference between revisions
Jump to navigation
Jump to search
Note:Do not confuse this shader with
TomEdwards (talk | contribs) No edit summary |
TomEdwards (talk | contribs) No edit summary |
||
| Line 1: | Line 1: | ||
'''<code>WorldTwoTextureBlend</code>''' is a [[lightmap]] shader used to render two [[albedo]]s at the same time with a single material. It uses the <code>$detail</code> command to draw the uppermost albedo. <code>$detail</code> must have an [[alpha channel]] if <code>$basetexture</code> is to be seen! | '''<code>WorldTwoTextureBlend</code>''' is a [[lightmap]] shader used to render two [[albedo]]s at the same time with a single material. It uses the <code>$detail</code> command to draw the uppermost albedo (unlike the command's [[$detail|normal usage]]). <code>$detail</code> must have an [[alpha channel]] if <code>$basetexture</code> is to be seen! | ||
{{note|Do not confuse this shader with <code>[[WorldVertexTransition]]</code>, which blends between textures but does not display one above the other.}} | {{note|Do not confuse this shader with <code>[[WorldVertexTransition]]</code>, which blends between textures but does not display one above the other.}} | ||
Revision as of 04:18, 13 July 2008
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!
WorldVertexTransition, which blends between textures but does not display one above the other.Syntax
WorldTwoTextureBlend
{
$basetexture <texture>
$detail <texture with alpha channel>
$detailscale <float> // Behaves normally
}
Supported effects
$bumpmap(will not apply to$detail)$translucentand$alpha
This shader does not support $envmap.