WorldTwoTextureBlend: Difference between revisions
Jump to navigation
Jump to search
Note:Do not confuse this shader with
Tip:Effectively equivalent to
SirYodaJedi (talk | contribs) mNo edit summary |
Thunder4ik (talk | contribs) m (→See also: Unicodifying, replaced: See Also → See also) |
||
| Line 19: | Line 19: | ||
This shader does ''not'' support {{ent|$envmap}}. | This shader does ''not'' support {{ent|$envmap}}. | ||
==See | ==See also== | ||
*{{ent|WorldVertexTransition}} | *{{ent|WorldVertexTransition}} | ||
*{{ent|LightmappedGeneric}} | *{{ent|LightmappedGeneric}} | ||
Revision as of 01:22, 9 January 2024
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.$detailblendmode 2 (working around the blend mode's incompatibility with LightmappedGeneric and WorldVertexTransition), but with fewer available parameters.Syntax
WorldTwoTextureBlend
{
$basetexture <texture>
$detail <texture with alpha channel>
$detailscale <float>// Behaves normally
}
Supported effects
- $bumpmap (will not apply to
$detail) - $translucent and $alpha
This shader does not support $envmap.