Nodes/ComfyUI-Apt_Preset/color_RadiaGradient_visual
ComfyUI Node

color_RadiaGradient_visual

The live-preview twin of color_RadiaBrightGradient

By cardenluo·Created 2 years ago·Updated 22 days ago· 309
color_RadiaGradient_visual
  • image
  • radial_gradient_image
center_x0.50
center_y0.50
circle_radius0.20
center_bright1.50
edge_bright1.00
overlay_color#FFFFFF
center_alpha0.00
edge_alpha0.00
falloff_modelinear
soft_edgetrue

Identical parameter set to color_RadiaBrightGradient - same center point, radius, and center-to-edge brightness falloff - with the one difference that this node is flagged as an output node, so it renders the radial gradient inline as you adjust sliders. It's filed under Apt_Preset/image/visualize_edit, the pack's bucket for nodes built to be watched while you tune them, alongside the curve editor and the other _visual nodes here.

Depending on how you set center_bright versus edge_bright, this reads as a spotlight, a vignette, or a soft radial glow - and since it's a shape you generally want to see before committing (position and radius are hard to judge blind), this is the version to use while you're actually placing the effect.

How it works

center_x/center_y place the origin, circle_radius sets the reach as a fraction of the image, and brightness interpolates from center_bright to edge_bright following falloff_mode (linear, ease_out, or ease_in). soft_edge feathers the boundary at the radius instead of cutting hard.

The inputs and outputs that matter

  • center_x / center_y (0-1, default 0.5/0.5) - dead center by default.
  • circle_radius (0-1, default 0.2) - small by default.
  • center_bright (0-5, default 1.5) and edge_bright (0-5, default 1) - spotlight-leaning defaults; invert them for a vignette.
  • overlay_color (hex, default #FFFFFF) with center_alpha/edge_alpha (0-1, default 0) - opt-in tint layer.
  • falloff_mode (linear / ease_out / ease_in).
  • soft_edge (boolean, default true).
  • image in, radial_gradient_image out, plus an inline preview since this is an output node.

How to install it

Through ComfyUI Manager: search "ComfyUI-Apt_Preset", install, restart. Manually:

cd ComfyUI/custom_nodes
git clone https://github.com/cardenluo/ComfyUI-Apt_Preset.git

then run install.bat (Windows) or install requirements manually on Linux/Mac, and restart. No model downloads for this node.

Common issues & troubleshooting

Effect barely visible in the preview. circle_radius starts small (0.2) - push it up.

Preview shows a spotlight but you wanted a vignette. Swap which of center_bright/edge_bright is higher.

Hard edge instead of a soft falloff. Confirm soft_edge is true - it defaults on, so a hard edge usually means it got toggled off.

Don't need the live preview? color_RadiaBrightGradient has the identical parameters without forced output-node behavior, better once you're feeding the result deeper into a longer pipeline.

IMPORT FAILED on the pack. ComfyUI-Apt_Preset is large and updates often; users have reported import failures after some updates. Reinstall via Manager before assuming it's this node.

CategoryApt_Preset/image/visualize_edit

Inputs (11)

NameTypeDefaultDescription
imageIMAGE
center_xFLOAT0.500–1
center_yFLOAT0.500–1
circle_radiusFLOAT0.200–1
center_brightFLOAT1.500–5
edge_brightFLOAT1.000–5
overlay_colorSTRING#FFFFFF
center_alphaFLOAT0.000–1
edge_alphaFLOAT0.000–1
falloff_modeCOMBOlinear3 options: linear, ease_out, ease_in
soft_edgeBOOLEANtrue

Outputs (1)

NameTypeDescription
radial_gradient_imageIMAGE