SDF · Subtract
Boolean difference A \ B — carve B out of A, with optional smooth blend:
d(p) = smax(a(p), -b(p), k)
Node
Interactive preview is available in the interactive reader.
Sockets
a (in)- SDF. Required — the solid being carved.
b (in)- SDF. Required — the cutter.
smoothness (in)- Float. Optional.
sdf (out)- SDF — A with B removed.
Parameters
Smoothness- Polynomial blend radius. 0 = sharp subtraction, positive values fillet the cut. Default: 0.