ComfyUI Node
SF Mask from Position
Select a region of the 3D scene from the world-position pass: inside a sphere or box, or on one side of a plane. The mask follows the region across a whole sequence.
SF Mask from Position
- exr
- mask
◄layerauto►
◄shapesphere►
◄axisY►
◄center_x0.00►
◄center_y0.00►
◄center_z0.00►
◄size_x1.00►
◄size_y1.00►
◄size_z1.00►
◄falloff0.25►
◄invertfalse►
CategorySF EXR
Inputs (12)
| Name | Type | Default | Description |
|---|---|---|---|
| exr | SF_EXR | — | |
| layer | COMBO | auto | 'auto' finds the position/P pass. |
| shape | COMBO | sphere | 4 options: sphere, box, cylinder, plane |
| axis | COMBO | Y | Cylinder axis (the up axis). |
| center_x | FLOAT | 0.00-1000000–1000000 | — |
| center_y | FLOAT | 0.00-1000000–1000000 | — |
| center_z | FLOAT | 0.00-1000000–1000000 | — |
| size_x | FLOAT | 1.00-1000000–1000000 | Sphere/cylinder: radius. Box: half-size. Plane: normal. |
| size_y | FLOAT | 1.00-1000000–1000000 | — |
| size_z | FLOAT | 1.00-1000000–1000000 | — |
| falloff | FLOAT | 0.250–1000000 | — |
| invert | BOOLEAN | false | — |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| mask | MASK | — |