skin1 ... skin4
mtlSkin1 ... mtlSkin4
Four general purpose bitmaps that can be set by
scripts and used in shaders. They are referred through mtlSkin1 ...
mtlSkin4 in the shader code.
Type:
BMAP*
(lite-C)
texture (shader code)
Example:
BMAP* bumpmap = "bump.tga";
MATERIAL* mtlBump3 =
{
skin1 = bumpmap;
effect = "
...
texture mtlSkin1;
sampler sBumpTex = sampler_state { Texture = <mtlSkin1>; };
...
";
}
See also:
MATERIAL, shaders, shader
parameters,
_bmap
► latest
version online