ComfyUI Node

Glow Edges

The tech-look edge glow

By criskb·Created 7 months ago·Updated 5 months ago· 0
Glow Edges
  • image
  • mask
  • image
  • mask
  • glow_edges_info
settings_json{"edge_threshold":0.22,"edge_softness":1.0,"glow_spread":8.0,"glow_strength":1.0,"tint_r":0.56,"tint_g":0.92,"tint_b":1.0,"composite_mode":"screen","ink_amount":0.45,"mask_feather":12.0,"invert_mask":false}

The "concept art" look - glowing edge lines over a dark scene, like a sci-fi HUD or a tron wireframe - is one of the most asked-for stylizations in the AI art world, and most people fake it by hand-painting white lines. x1GlowEdges automates it: it detects the edges in your image, glows them in a color you choose, and optionally inks the image with them. If you want the tech-look edge treatment without a brush, this is the node.

It's part of MKRShift Nodes by Cris K B, under MKRShift Nodes/VFX/Concept.

How it works

Two passes, both visible in the source. First, an edge detection pass: edge_threshold (default 0.22) sets how much local contrast counts as an edge, and edge_softness (default 1.0) feathers the detection so you get a gradient of edge strength rather than hard white lines. Second, a glow pass: the edge map is blurred outward by glow_spread (default 8.0) and added back at glow_strength (default 1.0), tinted by tint_r / tint_g / tint_b - the default (0.56, 0.92, 1.0) is a cool cyan, which is why the node instantly reads "hologram."

composite_mode defaults to screen, the right choice for glow - it adds the tinted edges onto the image, brightening where the glow lands without darkening the base. And ink_amount (default 0.45) is the second look hiding in here: it controls how strongly the detected edges are drawn back onto the image as solid ink, which is the cell-shading / comic-ink look. Glow-only for neon, ink-heavy for cel-shaded, or both.

The inputs that matter

Inside the settings_json:

  • edge_threshold / edge_softness - what counts as an edge and how feathered the detection is.
  • glow_spread / glow_strength - how far the glow spreads and how bright.
  • tint_r / tint_g / tint_b - the glow color (default cyan).
  • composite_mode - screen is the default and correct for glow.
  • ink_amount - the cel-shading/ink component.

Optional mask input with mask_feather / invert_mask, plus outputs image, mask, and a glow_edges_info string.

Installing it

cd ComfyUI/custom_nodes
git clone https://github.com/criskb/MKRShift_Nodes

Restart ComfyUI, or install via ComfyUI Manager (search MKRShift_Nodes). No requirements.txt, no models, no keys.

The take

This is a "concept" node and it nails the two looks that matter. The trap is edge detection on busy images: a photo full of texture lights up everywhere and the glow turns into noise - drop edge_threshold until only the strong structural edges fire, and if the scene is too busy, this is one of those nodes that genuinely wants a clean subject on a simple background. Start with the cyan default for the tron look, then try a magenta tint and high ink_amount for a totally different comic-book finish. It's a small pack of two effects in one node, and both are good.

CategoryMKRShift Nodes/VFX/Concept

Inputs (3)

NameTypeDefaultDescription
imageIMAGE
settings_jsonSTRING{"edge_threshold":0.22,"edge_softness":1.0,"glow_spread":8.0,"glow_strength":1.0,"tint_r":0.56,"tint_g":0.92,"tint_b":1.0,"composite_mode":"screen","ink_amount":0.45,"mask_feather":12.0,"invert_mask":false}
maskoptMASK

Outputs (3)

NameTypeDescription
imageIMAGE
maskMASK
glow_edges_infoSTRING