tex/Builder code/Globals tex/Output geo/VolumeFromTexture
Documentation / Node reference / geo nodes
geo/VolumeFromTexture
Converts a 3D texture into a volume, one voxel per texel.
Volume
Brings a 3D texture made in a TEX network into the scene as a volume. Each imported channel becomes a float attribute. Turn on vector to write red, green and blue into one vector attribute.
Parameters
| Name | Type | What it does |
|---|---|---|
| texturePath | NodePath | The TEX node showing the 3D texture. |
| importR | Bool | Import the red channel. |
| attributeR | AttributeName | Attribute the red channel is written to. |
| importG | Bool | Import the green channel. |
| attributeG | AttributeName | Attribute the green channel is written to. |
| importB | Bool | Import the blue channel. |
| attributeB | AttributeName | Attribute the blue channel is written to. |
| importA | Bool | Import the alpha channel. |
| attributeA | AttributeName | Attribute the alpha channel is written to. |
| vector | Bool | Write red, green and blue into one vector attribute. |
| vectorAttribute | AttributeName | Attribute red, green and blue are written to. |
| center | Vector3 | Centre of the volume. |
| size | Float | Length of the longest side. Voxels are cubes. |
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.