ComfyUI Node
BD Even Light
Even a head's lighting without flattening its facets. The light is the head's luminance blurred heavily (mask-normalised, sigma in px at 1024); the facets are what is left. Output = mean + keep_light x (light - mean) + facet_gain x facets, colour carried by ratio; outside the mask the image is unchanged. Why: Qwen Image 2.1 reads a cel-shading prompt as one hard key light - a bright side and a shadow side - and prompts that ask for even light flatten the facets too. Put this after a 2.1 shading pass (FaceMaker's Qwen Cell Shaded) to keep its facet contrast and take most of the light out.
BD Even Light
- image
- mask
- image
- report
◄keep_light0.50►
◄facet_gain0.90►
◄sigma60►
Category🧠BrainDead/Segmentation
Inputs (5)
| Name | Type | Default | Description |
|---|---|---|---|
| image | IMAGE | — | |
| keep_light | FLOAT | 0.500–1 | Share of the lighting gradient kept. 0 = perfectly even, 1 = unchanged. |
| facet_gain | FLOAT | 0.900–3 | Facet contrast multiplier. 1 = unchanged. |
| sigma | FLOAT | 605–400 | Light blur in px at 1024 (scaled with the image). Larger than a facet. |
| maskopt | MASK | Head mask (1 = head). None: pixels that differ from the corner colour. |
Outputs (2)
| Name | Type | Description |
|---|---|---|
| image | IMAGE | — |
| report | STRING | — |