1 Your mission
disable the lift Grade and enable the haze Merge
Click "Read depth" to look at the depth pass
2 Why it works
The depth pass here is normalised: 0 near, 1 far. Use it as the alpha of a haze-coloured layer and lay it over the plate: far things get a lot of haze, near things almost none.
A lift over the whole frame raises near and far equally, which looks like flare, not air. View the nodes one by one to see the difference.
haze = Constant(colour) · depth → over plateWhere the numbers come from: Computed in your browser. Saturation, Multiply, Clamp, Invert, Keymix, Copy and Grade are checked against node-based compositing software. Blur, Defocus, Glow, Sharpen, ChromaticAberration, Vignette, LensDistort, Grain, Erode, Toe, the Keyer and Despill are teaching versions, not identical to Nuke’s nodes. Transform here is also a teaching version: bilinear filtering, no concatenation, cropped at the frame edge. Images are our own Blender renders (the green screen is fully code-built; the desert scene uses Gaea 2.3 hills, a Poly Haven CC0 HDRI sky, Poly Haven CC0 rocks and grass, Quixel sand and cliff textures and a Mixamo rig for the robot, with Quixel and Mixamo used in the renders only).