π¨ CR Vignette Filter
Darkened edges (and a free mask) in one node
- image
- IMAGE
- MASK
- show_help
A vignette is that soft darkening toward the edges of a frame - the thing that pulls your eye to the middle of a portrait and makes a render feel a touch more cinematic. This node adds one after the fact, no relighting or resampling required. It's a post-process, so you drop it near the end of a graph, right before you save.
It lives in Comfyroll Studio (Suzie1 / RockOfFire), in the graphics-filter section alongside Color Tint and the Halftone filter. Handy detail most people miss: it doesn't just darken the image, it also spits out the vignette shape as a mask, which is genuinely useful for compositing.
How it works
The node builds a radial falloff - a bright center fading to dark at the borders - in whatever shape you choose, then multiplies it over your image. Because that falloff is just a grayscale gradient, it drops straight out as a mask on the second output. It's pure Pillow math, no model, so it's instant.
The inputs that matter
vignette_shape-circle,oval,square, ordiamond. Oval is the natural pick for most landscape/portrait frames; circle for square crops.feather_amount(default 100) - how soft the transition is. Low values give you a hard, obvious ring; crank it up for a gentle, barely-there fade. This is the dial you'll actually spend time on.zoom(default 1.0) - scales the bright area. Higher zoom pushes the darkness further out toward the corners, so more of the image stays lit.x_offset/y_offset- slide the center off-middle. Useful when your subject isn't dead center and you want the bright spot to follow them.reverse(no/yes) - flip it so the center darkens instead of the edges. That turns the node into a spotlight-inverse or a quick center-mask generator.
Outputs: IMAGE (vignetted), MASK (the shape), and the usual show_help link you can ignore.
How to install it
- ComfyUI Manager: search
Comfyroll Studio, install, restart. - Manual:
cd ComfyUI/custom_nodes && git clone https://github.com/Suzie1/ComfyUI_Comfyroll_CustomNodes.git, then restart.
Nothing to download beyond the pack, and it relies on Pillow, which ships with ComfyUI.
Common issues
If the vignette node (or the whole Graphics group) doesn't show up and your console prints Comfyroll Studio: Failed to load Graphics nodes, that's a Pillow problem, not this node - reinstall Pillow to match your Python version and reinstall the pack. This bites people on newer Python builds.
Otherwise the mistakes are cosmetic. A vignette that looks like a hard black donut means feather_amount is too low - raise it. If it's darkening your subject, either bump zoom so the lit area covers them, or nudge x_offset/y_offset to recenter the bright spot. And remember the MASK output exists - if you only wanted a soft-edged shape mask for compositing, this node gives you one for free without touching the image at all.
Inputs (7)
| Name | Type | Default | Description |
|---|---|---|---|
| image | IMAGE | β | |
| vignette_shape | COMBO | 4 options: circle, oval, square, diamond | |
| feather_amount | INT | 1000β1024 | β |
| x_offset | INT | 0-2048β2048 | β |
| y_offset | INT | 0-2048β2048 | β |
| zoom | FLOAT | 1.00β10 | β |
| reverse | COMBO | 2 options: no, yes |
Outputs (3)
| Name | Type | Description |
|---|---|---|
| IMAGE | IMAGE | β |
| MASK | MASK | β |
| show_help | STRING | β |