Studio and Graph › Voxel › CSG
Subtraction
Carves B out of A. Solid where A is solid and B is not, computed as max(A, -B).

The Subtraction node
When to use it
Carves B out of A. Solid where A is solid and B is not, computed as max(A, -B).
Holes, windows, caves and doorways all come from this node. It is also why you should not reach for the arithmetic Subtract, which leaves you a field that is no longer a distance to anything and makes everything downstream worse.
The cut edge is sharp. Smooth Subtraction rounds it.
Pins
| Pin | Type | Description |
|---|---|---|
A |
Number | The first number. |
B |
Number | The second number. |
| Pin | Type | Description |
|---|---|---|
Result |
Number | The answer. |
Available in Mesh Morpher Graph and Mesh Morpher Studio.