Documentation / Node reference / geo nodes

geo/VolumeBuilder

Runs the code nodes inside it once for every voxel of the volume on its first input.

Volume

Dive inside and read voxel attributes such as density with code/Attribute, work on them with any code node, and write the result back with a code/Attribute whose value input is wired. code/Globals gives the voxel's position.

The first input is the geometry it visits; the three after it are read only. To read one of them, set a code/Attribute's input index to 1, 2 or 3. An input holding points answers the point nearest to the position you give the read (or, under the same-index lookup, the point with the same index as the one being visited), and an input holding a volume is sampled smoothly at that position.

The backend picks where the code runs: on the CPU, or on the GPU as a compute shader. Both give the same result.

Parameters

Name Type What it does
backend UInt8 CPU · GPU Where the code runs: CPU, or GPU as a compute shader. Both give the same result; the GPU wins on large grids.

Examples

Scenes you can open in the editor that teach this node.

See also

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.