# z-depth & dome light alpha questions

**URL:** <https://forums.chaos.com/t/z-depth-dome-light-alpha-questions/48793>\
**Category:** Issues\
**Tags:** dome-light, zdepth\
**Created:** [February 24, 2014, 12:38am UTC](https://forums.chaos.com/t/z-depth-dome-light-alpha-questions/48793 "2014-02-24T00:38:46Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Brendan\_Coyle](https://avatars.discourse-cdn.com/v4/letter/b/e99b99/32.png) [@Brendan\_Coyle](https://forums.chaos.com/u/Brendan_Coyle)\
**Post date:** [February 24, 2014, 12:38am UTC](https://forums.chaos.com/t/z-depth-dome-light-alpha-questions/48793/1 "2014-02-24T00:38:46Z")

</div>

Couple issues that I’m having

What I’m expecting with the dome light & z-depth pass:

- Dome light; when affect alpha is turned off, the image should still show - but the alpha will not be affected. Currently the image turns to black while not affecting the alpha.

- The z-depth pass, I’d expect that if the background color is visible anywhere, it would give me a color to match the furthest distance. At the moment it’s showing me the color of whatever is closest - so an inverted zdepth goes from white (foreground) to black, and then the empty space is returning as white…

Is this right? Maybe there’s something I screwed up somewhere?

I’m using vray 3.00.02

> **[Dropbox - Error - Simplify your life](https://www.dropbox.com/sh/bah0wyb2cdbpg5h/AukgCT%5C_4T7)**

update: included .max file in link above  
I installed 3.00.03 and opened this max file and still had the issue - but when I started a fresh scene the depth pass was working correctly. Still had the dome image turning black when affect alpha was unticked.

update2: depth info seems to be totally an issue with 3.00.02 - going back to this version I start a new scene and have immediate depth issues with the background. This issue seems to carry over when opened in the new version - but I suppose the old scene could be merged into a new one to resolve this?

thanks

---

<div class="post-metadata">

**Author:** ![svetlozar.draganov](https://dub1.discourse-cdn.com/chaosprd/user_avatar/forums.chaos.com/svetlozar.draganov/32/53004_2.png) [@svetlozar.draganov](https://forums.chaos.com/u/svetlozar.draganov)\
**Post date:** [February 25, 2014, 2:37pm UTC](https://forums.chaos.com/t/z-depth-dome-light-alpha-questions/48793/2 "2014-02-25T14:37:12Z")

</div>

Thank you very much for your feedback.  
It seams that you are right - there is something wrong with the Depth in the scene you sent us - was it created with 3.00.02 ?  
Could you please try to remove VrayZDepth element and add it again - it seams that it works fine here after that operation at least in 3.00.03.  
According to the Dome Light affect alpha issue - I am going to report it in our database and I’ll update this thread when we have fix about it.

---

<div class="post-metadata">

**Author:** ![Brendan\_Coyle](https://avatars.discourse-cdn.com/v4/letter/b/e99b99/32.png) [@Brendan\_Coyle](https://forums.chaos.com/u/Brendan_Coyle)\
**Post date:** [February 25, 2014, 2:55pm UTC](https://forums.chaos.com/t/z-depth-dome-light-alpha-questions/48793/3 "2014-02-25T14:55:50Z")

</div>

Svetlozar,

Thanks for the response - the issue was resolved by removing the element and replacing it with a new one. (3.00.02)  
The element must have been quite old, revived from an old project.

edit: just tested the test.max file in v-ray 2.4, no issue with the depth pass. still not sure when the pass was originally created or what version - but it seems to break when jumping to v-ray 3.0

Thanks

---

<div class="post-metadata">

**Author:** ![svetlozar.draganov](https://dub1.discourse-cdn.com/chaosprd/user_avatar/forums.chaos.com/svetlozar.draganov/32/53004_2.png) [@svetlozar.draganov](https://forums.chaos.com/u/svetlozar.draganov)\
**Post date:** [February 26, 2014, 1:09pm UTC](https://forums.chaos.com/t/z-depth-dome-light-alpha-questions/48793/4 "2014-02-26T13:09:24Z")

</div>

It could be from the beta-version as well.  
If you could find out from which version it comes we could pass the case to our devs for further investigation.

---

<div class="post-metadata">

**Author:** ![svetlozar.draganov](https://dub1.discourse-cdn.com/chaosprd/user_avatar/forums.chaos.com/svetlozar.draganov/32/53004_2.png) [@svetlozar.draganov](https://forums.chaos.com/u/svetlozar.draganov)\
**Post date:** [March 4, 2014, 9:33am UTC](https://forums.chaos.com/t/z-depth-dome-light-alpha-questions/48793/5 "2014-03-04T09:33:01Z")

</div>

Hello,[**cheerioboy**](http://forums.chaosgroup.com/member.php?97952-cheerioboy)

We would like to inform you that affect-alpha issue has been fixed.  
The fix is only available in the Nightly builds for the moment.

Thank you very much for your feedback again.

---

<div class="post-metadata">

**Author:** ![Brendan\_Coyle](https://avatars.discourse-cdn.com/v4/letter/b/e99b99/32.png) [@Brendan\_Coyle](https://forums.chaos.com/u/Brendan_Coyle)\
**Post date:** [March 4, 2014, 4:14pm UTC](https://forums.chaos.com/t/z-depth-dome-light-alpha-questions/48793/6 "2014-03-04T16:14:05Z")

</div>

great work, thanks Svetlozar
