Titania X3D Editor

It starts with you!

Titania v3.0.4

It starts with you!

X3D Reference



TextureCoordinateGenerator computes 2D (s,t) texture-coordinate points, used by vertex-based geometry nodes (such as IndexedFaceSet or ElevationGrid) to map textures to vertices (and patches to polygons).

The TextureCoordinateGenerator node belongs to the Texturing component and its container field is texCoord. 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.

SFString [in, out] mode "SPHERE"

Parameter field defines the algorithm used to compute texture coordinates.


See X3D Specification Table 18.6 Texture coordinate generation modes http://www.web3d.org/files/specifications/19775-1/V3.3/Part01/components/texturing.html#t-Texturecoordgeneration for further details.


Do not wrap extra quotation marks around these SFString enumeration values, since "quotation" "marks" are only used for MFString values.

MFFloat [in, out] parameter [ ]

Parameter array contains scale and translation (x y z) values for Perlin NOISE mode, parameter[0] contains index of refraction for SPHERE-REFLECT mode, parameter[0] contains index of refraction and parameter[1 to 3] contains the eye point in local coordinates for SPHERE-REFLECT-LOCAL mode.



  • Add Shape and then polgyonal/planar geometry before adding TextureCoordinateGenerator.

Browser Compatibility

Titania X_ITE
yes no

External Links