Description :
This instruction sets the bitmap to be used in the specified texture channel.
Parameters :
-
ObjectID of the mesh.
-
Texture channel to assign :
MATERIAL_DIFFUSETEXTURE : Plain bitmap is used.
MATERIAL_OPACITYTEXTURE : Transparent (perfect transparency) bitmap is used.
MATERIAL_REFLECTTEXTURE : Plain bitmap is used, sphere-mapped and modulated with the diffuse color of the polygon.
-
ObjectID of the bitmap to be assigned. When this parameter is NULL, the instruction deactivates the specified texture channel.
Notes :
This instruction affects the default material assigned to a mesh.
Examples :
|