ComfyUI Node
SF Mask from Depth
Select everything between a near and far distance, with a soft falloff on both sides.
SF Mask from Depth
- exr
- mask
◄layerauto►
◄near0.00►
◄far10.00►
◄falloff0.50►
◄normalizedfalse►
◄invertfalse►
CategorySF EXR
Inputs (7)
| Name | Type | Default | Description |
|---|---|---|---|
| exr | SF_EXR | — | |
| layer | COMBO | auto | 'auto' finds the depth/Z pass. |
| near | FLOAT | 0.00-1000000–1000000 | — |
| far | FLOAT | 10.00-1000000–1000000 | — |
| falloff | FLOAT | 0.500–1000000 | — |
| normalized | BOOLEAN | false | Treat depth as 0-1 between nearest and farthest. |
| invert | BOOLEAN | false | — |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| mask | MASK | — |