ComfyUI Node
Relight Transfer
Moves the new light of a regenerated shot onto the plate. Light, shadows and reflections come from the regeneration; texture, grain, sharpness and highlights stay the plate's. Each input is linear light, or sRGB as 'plate_space' and 'shot_space' say.
Relight Transfer
- plate
- source
- relit
- image
◄radius8►
◄strength1.00►
◄aligntrue►
◄plate_spacelinear►
◄shot_spacelinear►
CategoryAInVFX/Paint a plate
Inputs (8)
| Name | Type | Default | Description |
|---|---|---|---|
| plate | IMAGE | The plate in linear light, any size. | |
| source | IMAGE | The plate as the model saw it, in linear light. The light is measured at this size: half the plate's size is plenty, light is smooth. | |
| relit | IMAGE | The regenerated shot, same size as 'source', in linear light. | |
| radius | INT | 81–256 | Detail size kept from the plate, in pixels of 'source'. Lower lets sharper new shadows through. |
| strength | FLOAT | 1.000–2 | — |
| align | BOOLEAN | true | Remove a small shift of 'relit' first. |
| plate_spaceopt | COMBO | linear | How 'plate' and the result are encoded. sRGB is decoded to linear light here, frame by frame in parallel, and the result encoded back: far cheaper than core colour conversions at full size. |
| shot_spaceopt | COMBO | linear | How 'source' and 'relit' are encoded: sRGB, as the model saw and made them, is decoded here. |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| image | IMAGE | — |