Documentation / Node reference / code nodes

code/SDFOffset

Grows a distance by a radius, or shrinks it.

Sdf3d

Subtracts a radius from a distance, which moves the whole surface out by that much: the twin of geo/SDFOffset, for use inside a geo/SDFBuilder sub-network. Every convex corner it passes comes out rounded to the same radius, because the offset of a corner IS an arc, and that is the cheapest fillet there is. A NEGATIVE radius moves the surface in instead, which erodes the shape and sharpens nothing.

The radius can be DRIVEN here, which is the reason to reach for this node over the geo one: a fillet that follows a point attribute, an erosion that follows the frame.

Parameters

Name Type What it does
d Float The distance to offset. Wire the field this modifies into it.
radius Float How far the surface moves out, and the radius the convex corners come out at. Negative moves it in instead.

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.