Nodes/ComfyUI_LC123_nodes/LC Depth FX 🌫️
ComfyUI Node

LC Depth FX 🌫️

Depth-driven camera effects: atmospheric haze, light wrap and depth of field with real bokeh. Wire a depth map from LC Depth Anything. Pick a look or set the sliders. On-node preview with before/after wipe.

By lonecatone23·Created 2 months ago·Updated about 7 hours ago· 22
LC Depth FX 🌫️
  • image
  • depth_map
  • focus_mask
  • image
◄lookNatural►
◄haze0.15►
◄haze_distance0.40►
◄haze_warmth0.00►
◄light_wrap0.10►
◄dof_blur0.10►
◄focus_range0.15►
◄bokeh0.20►
◄auto_focustrue►
◄focus_depth0.20►
◄depth_directionAuto►
CategoryLC123/image

Inputs (14)

NameTypeDefaultDescription
imageIMAGE—
depth_mapIMAGEDepth map of the same image (LC Depth Anything). Either direction works.
lookCOMBONaturalPick the same look on LC Depth FX, Bloom, Lens Profile, Vignette, Film Stock and Film Grain and they match. Custom = your own sliders. Moving a slider switches to Custom.
hazeFLOAT0.150–1How thick the air is. Distant areas fade toward the haze color. 0 = off.
haze_distanceFLOAT0.400–0.95Where the haze starts. 0 = right in front of the camera, higher = only the far background.
haze_warmthFLOAT0.00-1–1The haze color comes from the image's own distance. This nudges it cooler (-) or warmer (+).
light_wrapFLOAT0.100–1Bright background light bleeding over the subject's edges. Kills the cut-out sticker look. 0 = off.
dof_blurFLOAT0.100–1Depth of field. How blurry things get away from the focus. 0 = off. Scales with resolution.
focus_rangeFLOAT0.150–0.8How much depth stays sharp around the focus. Low = razor thin (like f/1.4), high = deep (like f/8).
bokehFLOAT0.200–1Bright out-of-focus lights turn into glowing discs. 0 = plain blur.
auto_focusBOOLEANtrueFocus on the main subject in the middle of the frame. Off = use focus_depth.
focus_depthFLOAT0.200–1Used when auto_focus is off. 0 = nearest, 1 = farthest.
depth_directionCOMBOAutoLeave on Auto unless the effects land on the wrong part of the image.
focus_maskoptMASKOptional. Focus lands on whatever this mask covers (a face or person mask from LC MaskMaker). Beats auto_focus when connected.

Outputs (1)

NameTypeDescription
imageIMAGE—