You are here: Reference Guide > Merge Nodes > ZMerge

ZMerge

Merges input images together at their appropriate 3D depths. It does this by setting each output pixel to the input with the closest Z depth value. Z depth values are usually stored in a separate depth channel (for example, depth.z) and determine the placing of objects within the field of view of the camera. By default, ZMerge considers smaller Z depth values (darker areas) to be closer to the camera and larger values (lighter areas) further away, but you can invert this behavior.

You can use ZMerge as an alternative to creating holdout geometry, but note that you may get poor results or have problems with anti-aliasing if your input images include transparent areas or motion blur.

Related Topics IconRelated Topics