Lore

Depth pass in Blender (Z pass)

A depth-map control pass that makes the model follow scene geometry more precisely than outlines do. See Control-pass choice as a freedom dial (outline vs depth vs blend).

Steps

  1. Activate Z in the View Layer tab and render.
  2. In the compositor, connect the depth output through a Normalize node.
  3. Invert the result.
  4. Add a Curve node to raise contrast and separate the character's depth from the background.
  5. Connect a File Output node and save the image sequence.

Use it alone for strict geometry, or blend it with Outline pass in Blender (Workbench + Freestyle). Convert the sequence to video with image-sequence-to-h264-in-comfyui.