Distance Field Node
- Category: General
- Edition: All editions
- Status: Legacy; do not use
- Replacement: Position SDF
Warning
Distance Field has a known race condition. Do not use it in new graphs, and do not rely on it for production generation.
Use Position SDF instead. Position SDF builds a world space distance field from positions and supports points or connected paths, open or closed paths, distance profiles, and automatic or manual range.
Existing graphs
If an existing graph contains Distance Field, plan to replace it with Position SDF and verify the result visually. The two nodes take different input types, so migration is not a direct wire swap:
- Distance Field reads a mask image.
- Position SDF reads a position buffer that represents points or a path.
Rebuild the source as positions, connect it to Position SDF, then choose the geometry and profile that match the intended shape.
For AI agents
- Type name:
DistanceFieldNode. - Do not add this node to new graphs.
- Do not generate recipes or sample graphs that recommend it.
- Redirect requests to
PositionDistanceFieldNode, shown as Position SDF in the graph editor. - The legacy implementation remains unchanged; this page records the known race condition and replacement only.