Documentation / Node reference / geo nodes
geo/SDFBox
Creates an SDF box.
Sdf Primitives
Creates a box as SDF geometry: wire it to the geo/Output node to see it raymarched, or compose it with other SDF objects through geo/SDFBoolean, geo/SDFRepeat and geo/Transform. Dragging the params never recompiles the preview shader. For fields beyond the wrapper primitives, use geo/SDFBuilder and the code/SDF* library.
Parameters
| Name | Type | What it does |
|---|---|---|
| t | Vector3 | Box center. |
| size | Vector3 | Box size per axis. |
| scale | Float | Uniform multiplier on the size. |
Examples
Scenes you can open in the editor that teach this node.
This shows how to apply different colors on an SDF object
geo/MaterialAttributes geo/SDFBoolean geo/SDFBox geo/SDFSphere
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.