Titania X3D Editor

Bring Colours to Your Life.

Titania v4.3.6

Bring Colours to Your Life.

X3D Reference

MultiTexture

MultiTexture

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.

Hierarchy

Fields

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.

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.

Hints

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.

Warning

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.

Hints

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.

Hints

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.

Description

Hint

  • Insert Shape and Appearance nodes before adding texture.

Browser Compatibility

Titania X_ITE
yes no

External Links

Cookies and other Technologies

By clicking »Accept« or continuing to use the site, you agree to the use of CREATE3000 and third-party cookies and other similar technologies to enhance your browsing experience, analyze and measure your engagement with our content, and provide more relevant ads on CREATE3000 websites and others. Learn more about cookies. You can withdraw your consent at any time.