# zDepth ignoring opacity in VrayLightMtl

**URL:** <https://forums.chaos.com/t/zdepth-ignoring-opacity-in-vraylightmtl/40081>\
**Category:** Issues\
**Created:** [January 23, 2012, 12:11pm UTC](https://forums.chaos.com/t/zdepth-ignoring-opacity-in-vraylightmtl/40081 "2012-01-23T12:11:21Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![hellobard](https://dub1.discourse-cdn.com/chaosprd/user_avatar/forums.chaos.com/hellobard/32/23661_2.png) [@hellobard](https://forums.chaos.com/u/hellobard)\
**Post date:** [January 23, 2012, 12:11pm UTC](https://forums.chaos.com/t/zdepth-ignoring-opacity-in-vraylightmtl/40081/1 "2012-01-23T12:11:21Z")

</div>

Hi,

Am I correct in that the zDepth pass ignores the opacity of VrayLightMtls?

Is this the same in VrayMtl?

I’m in the middle of a project, so this is messing up my zDepth pass in a big way. If this is a problem only for VrayLightMtls, do you have a quick way to convert a VrayMtl to work like the VrayLightMtl does?

 ![6748455925_43b8771d90_o.png](https://europe1.discourse-cdn.com/chaosprd/original/3X/5/e/5e60d55518bccb387736bc52ec6dceaa45e993de.png)

---

<div class="post-metadata">

**Author:** ![Zdravko](https://avatars.discourse-cdn.com/v4/letter/z/ba8739/32.png) [@Zdravko](https://forums.chaos.com/u/Zdravko)\
**Post date:** [January 24, 2012, 2:51pm UTC](https://forums.chaos.com/t/zdepth-ignoring-opacity-in-vraylightmtl/40081/2 "2012-01-24T14:51:05Z")

</div>

It works fine here.  
Which V-Ray for Maya version are you using?  
Can you attach the scene?

---

<div class="post-metadata">

**Author:** ![hellobard](https://dub1.discourse-cdn.com/chaosprd/user_avatar/forums.chaos.com/hellobard/32/23661_2.png) [@hellobard](https://forums.chaos.com/u/hellobard)\
**Post date:** [January 27, 2012, 9:05am UTC](https://forums.chaos.com/t/zdepth-ignoring-opacity-in-vraylightmtl/40081/3 "2012-01-27T09:05:18Z")

</div>

The build i’m using is stable build 18077 Maya 2011 Snow Leopard.

I tried the same scene in 2012 with the latest nightly and the alpha shows up just fine. Very strange, but I guess it’s been fixed or was just a freak occurence.
