Nodes/ComfyUI_DAO_master/Blur (Gaussian)
ComfyUI Node

Blur (Gaussian)

The drop-shadow machine hiding in a filter node

By orion4d·Created about a year ago·Updated 12 months ago· 11
Blur (Gaussian)
  • image
  • mask
  • mask_form
  • image
  • mask
  • drop_shadow
radius5.0
shadow_opacity50.0
shadow_color#000000
move_x0
move_y0
invert_drop_shadowtrue
apply_mask_to_alphatrue
invert_maskfalse

The name undersells it. Yes, this node blurs an image with a gaussian kernel - but the reason people actually reach for DAO Blur is that second output, the drop_shadow. Most image compositing in ComfyUI makes you fake a drop shadow with half a dozen nodes. This one hands you a colored, offset, opacity-controlled shadow on a silver platter, plus the blurred image and a matching mask, all in one pass.

It lives in orion4d/ComfyUI_DAO_master, a French-authored pack of vector and image utilities that also ships the DXF/SVG converters and the clone-grid nodes. No model downloads here - this is all CPU-side Pillow math, so it runs on anything.

How it works

Feed it an image and/or a mask, and it applies ImageFilter.GaussianBlur to both. If you supply a mask_form, it multiplies into the mask as an intersection - handy for limiting the blur to a region. The final mask can be folded back into the image's alpha channel with apply_mask_to_alpha, which is the trick that makes blurred shapes look like soft-edged stickers instead of hard rectangles.

Then the good stuff: the drop_shadow output is built from the blurred mask. shadow_color takes a hex string (#000000 default) and shadow_opacity scales it. move_x/move_y push the shadow around the canvas, and invert_drop_shadow (on by default) flips which side of the mask counts as "shadow" - that default gives you the classic shadow behind the object. The shadow is its own RGBA image output, so you can composite it yourself or just wire it into a Blend node.

The inputs that matter

  • radius - the blur strength (0–100, default 5). This is the one you'll actually fiddle with.
  • shadow_color + shadow_opacity - hex color and 0–100 opacity for the shadow.
  • move_x / move_y - shadow offset in pixels. Zero by default, so a visible offset is usually the first thing to set.
  • invert_drop_shadow - leave it on unless you want the shadow to sit inside the shape's silhouette.

Outputs are image, mask, and drop_shadow - three separate sockets, each wireable independently.

Installing

Install the pack via ComfyUI Manager (search ComfyUI_DAO_master) or:

cd ComfyUI/custom_nodes
git clone https://github.com/orion4d/ComfyUI_DAO_master.git

then restart ComfyUI. DAO Blur itself only needs Pillow, which ComfyUI already has, so it'll work immediately. (The pack's other nodes want cairosvg, ezdxf, svgpathtools, shapely and friends - you can pre-install the whole set with pip install cairosvg ezdxf svgpathtools lxml pyclipper shapely matplotlib if you plan on using more of it.)

Where people get burned

Because the pack's UI strings and node descriptions are largely in French, don't be surprised to see French labels floating around. Also remember: the mask output is the blurred mask, not a sharp cutout - if you're feeding it into an inpainting or compositing step that expects a hard edge, blur it back down or threshold it first.

CategoryDAO_master/Images/Filter

Inputs (11)

NameTypeDefaultDescription
radiusFLOAT5.00–100
shadow_opacityFLOAT50.00–100
shadow_colorSTRING#000000
move_xINT0-8192–8192
move_yINT0-8192–8192
invert_drop_shadowBOOLEANtrue
imageoptIMAGE
maskoptMASK
mask_formoptMASK
apply_mask_to_alphaoptBOOLEANtrue
invert_maskoptBOOLEANfalse

Outputs (3)

NameTypeDescription
imageIMAGE
maskMASK
drop_shadowIMAGE