ComfyUI Node
Light Leak
A ComfyUI node in AKURATE/Darkroom/Film with 14 inputs and 2 outputs.
Light Leak
- image
- image
- leak_mask
◄leak_typesprocket trap (perforation modulated)►
◄leak_fromtop►
◄strength0.45►
◄falloff200►
◄colour_sourcebase path (derived red-shift)►
◄diffusion0.35►
◄pinhole_count3►
◄pinhole_diameter0.30►
◄flange_distance50►
◄displacement100►
◄displacement_scale380►
◄vary_per_framefalse►
◄seed42►
CategoryAKURATE/Darkroom/Film
Inputs (14)
| Name | Type | Default | Description |
|---|---|---|---|
| image | IMAGE | — | |
| leak_typeopt | COMBO | sprocket trap (perforation modulated) | Sprocket = edge falloff modulated by the KS-1870 perforation lattice. Gradient = seal/bellows wedge. Pinhole = camera-obscura spots, neutral by physics |
| leak_fromopt | COMBO | top | Which edge or corner the light enters from. Sprocket collapses a corner to its edge, since perforations run along the film's long edge |
| strengthopt | FLOAT | 0.450–3 | Leak exposure added, in linear light. 0 = passthrough |
| falloffopt | FLOAT | 20020–1200 | Red-channel penetration depth, ref-px @1024 long edge. Green and blue follow at 0.62 and 0.38 of it, which is what reddens the leak with distance |
| colour_sourceopt | COMBO | base path (derived red-shift) | Base path = the derived white-core-to-red gradient. Backing paper = 120 roll-paper dye, an honest preset. Neutral = source colour, no lateral path |
| diffusionopt | FLOAT | 0.350–1.5 | Sprocket only: lateral spreading of light past a perforation. Above 0 the comb widens and softens with depth; at 0 the teeth keep straight sides and read as a bar chart |
| pinhole_countopt | INT | 31–40 | Pinhole only: number of holes in the body/bellows |
| pinhole_diameteropt | FLOAT | 0.300.02–3 | Pinhole only: hole diameter in mm. Sets the penumbra (the 'a' term in spot size = a + D*theta) |
| flange_distanceopt | FLOAT | 5010–300 | Pinhole only: hole-to-film distance in mm. Spot size = a + D*theta, so a deeper body projects a larger spot |
| displacementopt | FLOAT | 1000–500 | Warps the PATH LENGTH so the leak boundary wanders instead of running parallel to the frame edge. Because colour follows path length, the red fringe warps with it. 0 = clean analytic field |
| displacement_scaleopt | FLOAT | 380142–1500 | Warp feature size, ref-px @1024. Clamped at 142 (5mm of seam): anything finer stops being a mechanical gap variation and reads as noise running through the effect |
| vary_per_frameopt | BOOLEAN | false | Batch of N gets N different leaks. Off keeps one leak across the batch, which is usually what you want for a sequence |
| seedopt | INT | 420–4294967295 | Seeds the perforation phase, the pinhole placement and the displacement warp |
Outputs (2)
| Name | Type | Description |
|---|---|---|
| image | IMAGE | — |
| leak_mask | MASK | — |