Nodes/ComfyUI Layer Style/LayerStyle: InnerGlow V2
ComfyUI Node Runs on cloud

LayerStyle: InnerGlow V2

InnerGlow V2 — the inward glow effect, full 30-mode blend list

By chflame163·Created 3 years ago·Updated 12 days ago· 3,125
LayerStyle: InnerGlow V2
  • background_image
  • layer_image
  • layer_mask
  • image
â—„invert_masktrueâ–º
◄blend_mode▾►
â—„opacity100â–º
â—„brightness5â–º
â—„glow_range48â–º
â—„blur25â–º
â—„light_color#FFBF30â–º
â—„glow_color#FE0000â–º

Photoshop's Inner Glow, ported to ComfyUI: a soft light that blooms inward from your subject's edge instead of casting outward. It's what gives cutout text or a masked object that faint, luminous rim-lit look - like the edge is catching light from inside. This is V2, the current revision of InnerGlow.

What changed from V1

The controls are identical to the original InnerGlow - same brightness, range, blur, and two-color setup. The difference is blend_mode: V2 ships the full 30-mode Photoshop list instead of V1's shorter 19-entry set, so if you need the glow to interact with the background through a specific blend behavior (screen and linear dodge are the natural choices for a glow, and both are in the 30-mode list), V2 gives you the option without any other tradeoff.

How it works

From the mask's boundary, the glow blooms inward - glow_range sets how far it reaches, blur softens the falloff. Two colors instead of one: light_color reads as the hot core right at the edge, glow_color is what it fades toward as it spreads in, which lets you fake a light source with its own color shift rather than a flat single-hue bloom. The result composites onto the background at your chosen opacity and blend mode.

The inputs and outputs that matter

  • brightness (2–20, default 5) - glow intensity. The default is conservative; push it up for a stronger emissive edge.
  • glow_range (default 48) - how far inward the glow extends from the boundary.
  • blur - softens the transition.
  • light_color / glow_color (hex, defaults #FFBF30 / #FE0000) - the two-tone glow.
  • invert_mask (default true) - flip if the glow ends up outside the subject instead of inside it.
  • background_image, layer_image, optional layer_mask, opacity, and blend_mode (30 options).

Output: a single composited image.

How to install it

Ships with the ComfyUI Layer Style pack. ComfyUI Manager → search ComfyUI Layer Style → install → restart. Manual:

cd ComfyUI/custom_nodes
git clone https://github.com/chflame163/ComfyUI_LayerStyle
pip install -r ComfyUI_LayerStyle/requirements.txt

then restart. Lives under 😺dzNodes → LayerStyle. No models needed.

Common issues & troubleshooting

Glow appears outside the subject, not inside. invert_mask is the near-universal culprit for this exact symptom on inner-effect nodes in this pack - flip it and re-run rather than assuming your mask is wrong.

Glow's too weak to notice. Raise brightness first (5 is a conservative default), then check opacity, then make sure blur hasn't smoothed it into nothing.

With 30 blend modes now available, picking the wrong one makes the glow disappear or go strange. screen and linear dodge(add) are the natural picks for a light-emitting effect like this - they only ever brighten. Multiply-family modes will darken instead of glow, which is rarely what you want here.

Node's missing entirely. Pack-level import failure. LayerStyle's long dependency list means a single broken library - transformers clashing with a stray TensorFlow install is the recurring one - takes down every node in the pack at once. Check the startup console or hit "Try Fix" in Manager.

Category😺dzNodes/LayerStyle

Inputs (11)

NameTypeDefaultDescription
background_imageIMAGE—
layer_imageIMAGE—
invert_maskBOOLEANtrue—
blend_modeCOMBO30 options: screen, linear dodge(add), color dodge, lighten, dodge, hard light, +24
opacityINT1000–100—
brightnessINT52–20—
glow_rangeINT48-9999–9999—
blurINT250–9999—
light_colorSTRING#FFBF30—
glow_colorSTRING#FE0000—
layer_maskoptMASK—

Outputs (1)

NameTypeDescription
imageIMAGE—