ComfyUI Node
Depth Range Masks
Builds soft near/far masks for compositing, relighting, and depth-conditioned generation.
Depth Range Masks
- depth_map
- inside_range
- outside_range
- masked_depth
◄near0.20►
◄far0.80►
◄feather0.020►
◄invert_depthfalse►
Categorydepth/toolkit
Inputs (5)
| Name | Type | Default | Description |
|---|---|---|---|
| depth_map | IMAGE | — | |
| near | FLOAT | 0.200–1 | — |
| far | FLOAT | 0.800–1 | — |
| feather | FLOAT | 0.0200–0.5 | — |
| invert_depth | BOOLEAN | false | — |
Outputs (3)
| Name | Type | Description |
|---|---|---|
| inside_range | MASK | — |
| outside_range | MASK | — |
| masked_depth | IMAGE | — |