Approximate lighting changes without additional render passes.

Watch on YouTube

0:00
0:00

Get it

Download on GitHub
  1. Download the aeTools repository from GitHub as a ZIP, or clone it. One download brings every tool.
  2. Copy the Aitor_Echeveste folder into your .nuke folder.
  3. Add nuke.pluginAddPath("./Aitor_Echeveste") to .nuke/init.py and 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.

Smoke relit from a new direction, without passes.
Moving a light across a smoke element: the relief comes from the image itself.

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.

Smoke relit from a new direction, without passes.
A face, constrained with a rough roto.

Goes well withaeVolumeRaysaeShadows