Approximate lighting changes without additional render passes.
- Download the aeTools repository from GitHub as a ZIP, or clone it. One download brings every tool.
- Copy the
Aitor_Echevestefolder into your.nukefolder. - Add
nuke.pluginAddPath("./Aitor_Echeveste")to.nuke/init.pyand restart Nuke.
In the gizmo
- 2D relighting
- Adjustable light direction
- Emboss/depth approximation
- Surface smoothing controls
- No dedicated lighting render pass required
Sometimes the smoke is right but its lighting belongs to another shot. A grade can lift or darken the element, but it can't make the light feel as if it arrives from a different direction. Usually that would need normals or a re-render, and a plate of smoke doesn't come with either.
Why a grade can't move a light
Brightening an image changes every pixel by the same rule, whatever its shape. Directional light depends on how each part of a form faces the light, so moving a light changes where the bright and dark sides fall. A grade has no idea which way anything faces.
Relief from the image itself
aeRelight2D derives a directional cue from contrast in the image: an emboss-like reading of its gradients, smoothed and rotated, which then responds to a light you can position, raise, tint and soften. It reads the projected image, not the hidden 3D shape, so it is an approximation of relief, not recovered surface normals.
The emboss amount can be positive or negative, which flips which side of a form catches the light. Too much of either looks plastic.
Why smoke is the natural case
Smoke and fog already carry soft, layered contrast, so a directional cue can strengthen their shape convincingly. A face works too, constrained with a rough roto, but it's a secondary case. The output view lets you check the light contribution on its own before mixing it in.
