---
title: "V-Ray Z-Depth"
canonical: "https://documentation.chaos.com/space/VRAYHOUDINI/113280714/V-Ray%20Z-Depth"
format: markdown
---
The Z-Depth Render Channel is a grayscale image that renders each pixel based on its distance from the camera in the view. 


## **Overview**

---


## **Parameters**

---


## **Invert zdepth**

---

<span style="color: #000000">The </span><span style="color: #000000">**Depth Black**</span><span style="color: #000000"> and </span><span style="color: #000000">**Depth White**</span><span style="color: #000000"> values in the Z-Depth Render Element can be inverted by enabling the </span><span style="color: #000000">**Depth Invert**</span><span style="color: #000000"> option.</span>

<span style="color: #000000"> </span>



## **Common Uses**

---

The Z-Depth Render Element is useful for adding depth of field to the final image in post-production using a compositing application without the need for re-rendering. It can also be used to create basic fog by overlaying it on the composite with Add mode or Screen mode, with color correction as needed.