A sphere wired INTO a geo/SDFBuilder and roughened into a rock, by adding noise to the field code/SDFInput reads back.
code/SDFInput geo/SDFBuilder
Documentation / Node reference / code nodes
Reads the field wired into this geo/SDFBuilder, at any position.
Sdf3d
A geo/SDFBuilder with nothing on its input authors a field from scratch. Wire a field into it and this node hands that field to the sub-network, so the builder MODIFIES it instead.
Read it at the sample position and add to it to displace the surface. Read it at a moved position to warp the shape. Combine it with a primitive through code/SDFBoolean to blend. The position input is what tells those apart: same node, different place to read.
It only works inside a geo/SDFBuilder, and only when that builder has an input wired. Anywhere else it reports an error rather than a distance.
| Name | Type | What it does |
|---|---|---|
| P | Vector3 | Where to read the input field. Left unwired it reads the builder's own sample position, which is the identity: the builder passes the input straight through. |
Scenes you can open in the editor that teach this node.
A sphere wired INTO a geo/SDFBuilder and roughened into a rock, by adding noise to the field code/SDFInput reads back.
code/SDFInput geo/SDFBuilder
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.