Smooth Cubemap Depth
De-noise depth without killing the geometry
- cubemap
- CUBEMAP
Smooth Cubemap Depth applies a Gaussian blur to every face's depth layer. It's the de-noising step of the pack: if your depth maps come out noisy - speckle on flat surfaces, jittery edges from a small model or a low resolution - this smooths it into something that looks like a surface instead of static.
The mechanism is as simple as it sounds: each face's single-channel depth gets run through scipy.ndimage.gaussian_filter with your sigma. Larger sigma = broader kernel = smoother result. That's the whole node.
Honestly, this is the least glamorous tool in the pack, and it earns its place precisely because of what it doesn't do. It's not a seam fixer - Enforce Depth Consistency handles boundaries by blending adjacent faces, which this node doesn't understand. It's not a normalizer - the scale of your depth is untouched. It's a noise reducer for when the depth itself is the problem, which happens a lot with small/fast depth variants or noisy captures.
Inputs and outputs
cubemap- a cubemap with depth (errors if there's none).sigma- Gaussian standard deviation, default 1.0, range 0.1–5.0. Larger = smoother.
Output is a CUBEMAP with blurred depth. RGB untouched.
How to install it
ComfyUI Manager, search "DreamCube", install, restart. Or:
cd ComfyUI/custom_nodes
git clone https://github.com/cedarconnor/ComfyUI-DreamCube.git
cd ComfyUI-DreamCube
pip install -r requirements.txt
No models, no keys.
Gotchas
The trap is over-smoothing. Depth is geometry, and a Gaussian blurs edges along with noise - crank sigma to 5 and every sharp occlusion boundary in your scene turns into a soft ramp, which will look wrong when you convert back to a panorama or use the depth for parallax. Keep it at or below 1.5 for anything you actually care about, and prefer it as a light pass combined with Enforce Depth Consistency over relying on it to fix everything. If you need more aggressive cleaning, the better move is a better depth model (Depth Anything V2 over a tiny variant), not more blur.
Inputs (2)
| Name | Type | Default | Description |
|---|---|---|---|
| cubemap | CUBEMAP | — | |
| sigma | FLOAT | 1.00.1–5 | Gaussian sigma; larger = smoother depth |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| CUBEMAP | CUBEMAP | — |