z-depth renders black

does anyone know how to properly setup z-depth in vray using blender ?
i added a z-depth channel and when i render it just comes out black , i don’t get the gradient image from black to white

thanks

Hi @geochavez , The render element is working correctly, the issue likely comes from the Near and Far parameters being too large for the scale of your scene. By default, Depth Black is set to 0 and Depth White to 1000, which can cause objects that are very close to appear fully black. (V-Ray Node Editor > World > Z Depth > Node Properties)

​

You can either adjust those values to better fit your scene scale or simply enable Depth from Camera, which will use the camera’s near and far clipping values for the Z-Depth calculation.

Example with Depth Values:

Example with Depth from Camera:
​

​

Hope this helps.

hi Daniel,
thanks for reply . yeah i figured it out that same day upon playing with those settings you posted!
all working well

thanks a mil for replying to this ! vray for blender is excellent .