Makes a picture, or a 3D texture, from code nodes run once for every pixel.
The code nodes inside run once for each pixel of the output, and the tex/Output inside says its colour and alpha. code/Globals gives what changes from one pixel to the next: UV, the centre of the pixel being written, from 0 to 1 across the picture. With nothing else wired, a new builder shows a UV gradient.
Up to four pictures can be wired into the builder. Read one with a code/TextureInput: code/TextureTexel reads its pixels exactly, at the pixel being written or next to it, and code/TextureSample2D with a code/Sampler reads it between pixels. code/Globals' InputColor is the picture on input 0 at the pixel being written. A simulation step reads its picture this way, inside a tex/Solver.
With nothing wired into input 0 the builder makes something new, at the size its params say. dimension _2D makes a picture of resolution2D pixels. dimension _3D makes a 3D texture of resolution3D voxels, a block of values you can look at slice by slice in the texture panel: code/Globals then gives uvw, the centre of the voxel being written, from 0 to 1 on each axis, and VoxelPosition, the voxel's whole-number position. A 3D texture is at most 256 voxels on each axis: above that the builder makes it 256 and warns. A 3D output has no mipmaps.
With a picture or a 3D texture wired into input 0, the output takes its dimension and its size, and dimension and both resolutions are greyed out. A 3D input larger than 256 on an axis gives a smaller output, with a warning; the input is read as it is, never resized.
A 3D builder can read 2D pictures on its other inputs, a gradient used as a lookup for example, at the uvw's first two values. A 2D builder cannot read a 3D texture: wiring one into a 2D builder and reading it is refused, with a message naming the input.
Scenes you can open in the editor that teach this node.
This page is generated from the engine, so it describes the release you can download. The same text
is in the editor's Help panel next to the node itself.