Create, remove or modify shadows while preserving plate detail.
- 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
- Add shadows
- Reduce or remove existing shadows
- Shadow brightness control
- Shadow colour adjustment
- Texture-preserving workflow
- Edge and softness refinement
The hard part of adding a shadow isn't drawing its shape. It's making the new darkness look as though the same light created it as the shadows already in the plate: the same density, the same colour, the same softness at the edge. A uniform dark shape over brickwork or skin looks pasted on, and painting a shadow out tends to take the surface detail with it.
A shadow is missing light, not a dark object
A surface in shadow still receives bounce and sky light, so shadows are rarely black or neutral grey. They carry the colour of whatever is lighting them indirectly. That is why simply darkening pixels rarely matches: the real shadow is a change of illumination over a surface whose colour and texture stay the same.
It is also why the problem is ambiguous. From one RGB image you can't always tell a dark material from a light material in shadow. Any tool that edits shadows in a plate is making an estimate, not reading the truth.
Change the light, keep the surface
The practical idea is to separate the broad change in brightness from the fine detail riding on top of it: adjust the first, keep the second. aeShadows does this with a divide-and-multiply style separation inside the group, so a shadow's brightness and colour can be tuned while the texture the camera recorded stays in place. It's an estimate of what is light and what is surface, not a recovery of the true surface colour, and it can only keep detail that is actually in the image.
In practice: switch on preview, tune the range so the key picks up the existing shadows, use threshold to clean imperfections, and add detail, which costs more processing, only where the surface needs it.
Where it earns its place
- Adding a CG or contact shadow that has to match the plate's own shadows
- Reducing an unwanted on-set shadow over textured surfaces
- Local shadow adjustments during integration
Where it can't help
- The shadow is crushed or clipped: detail that was never captured can't be recovered
- The lighting change also needs new speculars, bounce colour or mixed-colour light
Questions people ask
- Why does my edited shadow look like a patch?
- Usually the mask, the penumbra or the colour doesn't match the surrounding shadows. Check the range key in preview and treat the inside and outside of the edge separately.
