Titania X3D Editor

Bring Colours to Your Life.

Titania v4.3.1

Bring Colours to Your Life.

X3D Reference



PixelTexture creates a 2D-image texture map using a numeric array of pixel values. 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 PixelTexture 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.

SFImage [in, out] image 0 0 0

Defines image: width height number_of_components pixel_values. width and height are pixel count, number_of_components = 1 (intensity), 2 (intensity alpha), 3 (red green blue), 4 (red green blue alpha-opacity).

SFBool [ ] repeatS TRUE

Whether to horizontally repeat texture along S axis.

SFBool [ ] repeatT TRUE

Whether to vertically repeat texture along T axis.

SFNode [ ] textureProperties NULL [TextureProperties]

Field textureProperties.



  • This is a good way to bundle image(s) into a single scene file, avoiding multiple downloads.
  • Can contain a single TextureProperties node.
  • Insert Shape and Appearance nodes before adding texture.


  • Aggregate file size can grow dramatically.



Downlod ZIP file

XML Encoding

Classic Encoding

JSON Encoding