MultiTexture applies several individual textures to a 3D object to achieve a more complex visual effect. MultiTexture contains multiple ImageTexture, MovieTexture and PixelTexture nodes. Texture maps have a 2D coordinate system (s, t) horizontal and vertical, with (s, t) values in range [0.0, 1.0] for opposite corners of the image.
The MultiTexture node belongs to the Texturing component and its container field is texture. It is available since X3D version 3.0 or later.
SFNode [in, out] metadata NULL [X3DMetadataObject]
Metadata are not part of the X3D world and not interpreted by the X3D browser, but they can be accessed via the ECMAScript interface.
SFColor [in, out] color 1 1 1 [0,1]
The color field defines the RGB base values for mode operations.
SFFloat [in, out] alpha 1 [0,1]
The alpha field defines the alpha (1-transparency) base value for mode operations.
MFString [in, out] mode [ ]
Mode field indicates the type of blending operation, both for color and for alpha channel.
Include the same number of mode values as textures, otherwise the default value MODULATE is added for each remaining stage. See X3D Specification Table 18.3 Multitexture modes http://www.web3d.org/files/specifications/19775-1/V3.3/Part01/components/texturing.html#t-MultitextureModes for further details.
Do not wrap extra quotation marks around these SFString enumeration values, since "quotation" "marks" are only used for MFString values.
MFString [in, out] source [ ]
Source field determines whether each image source is treated as DIFFUSE, SPECULAR or a multiplicative FACTOR. Empty string value "" indicates that no source modifier is applied for that stage.
Include the same number of source values as textures, otherwise the default of no source interpretation is applied for each remaining stage. See X3D Specification Table 18.4 Values for the source field http://www.web3d.org/files/specifications/19775-1/V3.3/Part01/components/texturing.html#t-ValuesForSourceField for further details.
MFString [in, out] function [ ]
Function operators COMPLEMENT or ALPHAREPLICATE can be applied after the mode blending operation. Empty string value "" indicates that no function operation is applied for that stage.
Include the same number of function values as textures, otherwise the default of no function operation is applied for each remaining stage. See X3D Specification Table 18.5 Values for the function field http://www.web3d.org/files/specifications/19775-1/V3.3/Part01/components/texturing.html#t-ValuesForFunctionField for further details.
MFNode [in, out] texture [ ] [X3DTextureNode]
Input/Output field texture.