construct_texture
Builds a texture from images. This is analogous to construct_mesh, but for textures.
For technical information on structure of textures and images, see the documentation for get_texture_structure
and get_image_structure
.
Inputs
tile_images
The array of images from which to construct a texture.
tile_coordinates
The coordinates as an int2
values for each image. These specify which part of a larger UV space this image will cover. The coordinates {0,0}
represent the traditional, default UV space which covers the space from coordinates {0,0}
to {1,1}
. A tile coordinate of {0,10}
would represent an image that maps from the coordinates {0,10}
to {1,11}
. UDIM tokens specify these coordinates, where the UDIM token 1001
means specifies the coordinates {0,0}
.
Together with tile_images
this can be used to define a texture that maps to an extended UV space.
Outputs
texture
The constructed texture.