Nodes/ComfyUI Layer Style/LayerFilter: LightLeak
ComfyUI Node Runs on cloud

LayerFilter: LightLeak

Fake film light leaks over any image

By chflame163·Created 3 years ago·Updated 5 days ago· 3,113
LayerFilter: LightLeak
  • image
  • image
◄light▾►
◄corner▾►
â—„hue0â–º
â—„saturation0â–º
â—„opacity100â–º

Want that leaky-analog-camera look - a warm streak of colored light bleeding in from a corner, like the film got exposed a little where it shouldn't have? That's what this node does. It drops a light-leak overlay onto your image so you don't have to go find a leak PNG, screen it in Photoshop, and eyeball the blend. One node, a preset, done.

Light leaks are pure aesthetic seasoning. They're everywhere in the retro/vintage/lofi look, and they're a cheap way to make a clean AI render feel like it went through a physical camera. Use it as a finishing pass, near the end of your graph, after upscaling and color work.

How it works

The node ships a library of pre-made leak patterns and composites one over your image. You pick which leak, which corner it comes from, optionally shift its color, and set how strongly it shows. It's an overlay blend on top of your original pixels - it doesn't regenerate anything, it just layers the leak in.

The inputs and outputs that matter

  • image (IMAGE) - the shot you're leaking onto.
  • light - the leak pattern, an enum with 33 options. The first choice is random (great for batches where you want variety), then numbered presets 1 through 32. Just flip through them; there's no describing a leak in words, you look at it.
  • corner - which corner the leak enters from: left_top, right_top, left_bottom, right_bottom. Point it away from your subject's face unless you want the light on it.
  • hue (INT, −255 to 255) and saturation (INT, −255 to 255) - recolor the leak. Default 0 keeps the preset's native color; nudge hue to swing a warm leak cooler, or drop saturation toward −255 for a subtle near-monochrome glow.
  • opacity (INT, 0–100, default 100) - how much of the leak shows. This is the one you'll actually ride. 100 is full-strength and often too much; 30–60 usually reads as tasteful rather than "someone discovered a filter."

Output is a single image you send onward to save or keep grading.

How to install it

Through ComfyUI Manager: search ComfyUI Layer Style, install, restart. Or clone it:

cd ComfyUI/custom_nodes
git clone https://github.com/chflame163/ComfyUI_LayerStyle

Restart afterward so dependencies install. The leak presets ship inside the pack, so there's nothing extra to download for this one.

Common issues & troubleshooting

If the node's missing entirely, the culprit is almost always the pack failing to import rather than this node specifically. Watch the startup log for IMPORT FAILED on ComfyUI_LayerStyle. The two repeat offenders: a stale install from before the pack was split into ComfyUI_LayerStyle and ComfyUI_LayerStyle_Advanced (delete the old folder, reinstall fresh), or a broken dependency elsewhere in your environment breaking the import chain. A clean reinstall via Manager clears most of it.

Node-specific gotchas are minor. If the leak looks pasted-on and fake, drop the opacity - full strength rarely looks good. If the color clashes, that's what hue/saturation are for; you don't have to accept the preset's tint. And if you're batching and every frame looks identical, switch light to random so each image gets a different leak.

Category😺dzNodes/LayerFilter

Inputs (6)

NameTypeDefaultDescription
imageIMAGE—
lightCOMBO33 options: random, 1, 2, 3, 4, 5, +27
cornerCOMBO4 options: left_top, right_top, left_bottom, right_bottom
hueINT0-255–255—
saturationINT0-255–255—
opacityINT1000–100—

Outputs (1)

NameTypeDescription
imageIMAGE—