# Zdepth / normals not respecting opacity maps on cards?

**URL:** <https://forums.chaos.com/t/zdepth-normals-not-respecting-opacity-maps-on-cards/44581>\
**Category:** Issues\
**Created:** [March 15, 2013, 5:57pm UTC](https://forums.chaos.com/t/zdepth-normals-not-respecting-opacity-maps-on-cards/44581 "2013-03-15T17:57:26Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![joconnell](https://dub1.discourse-cdn.com/chaosprd/user_avatar/forums.chaos.com/joconnell/32/36063_2.png) [@joconnell](https://forums.chaos.com/u/joconnell)\
**Post date:** [March 15, 2013, 5:57pm UTC](https://forums.chaos.com/t/zdepth-normals-not-respecting-opacity-maps-on-cards/44581/1 "2013-03-15T17:57:26Z")

</div>

Heya Folks,

Just getting a few issues with depth channels and normal channels on a render with lots of opacity mapped cards - I see that the maya folks have some issues here too, is there anything I can do to get this to behave?

Cheers!

John

---

<div class="post-metadata">

**Author:** ![3DMK](https://dub1.discourse-cdn.com/chaosprd/user_avatar/forums.chaos.com/3dmk/32/388_2.png) [@3DMK](https://forums.chaos.com/u/3DMK)\
**Post date:** [March 15, 2013, 7:27pm UTC](https://forums.chaos.com/t/zdepth-normals-not-respecting-opacity-maps-on-cards/44581/2 "2013-03-15T19:27:55Z")

</div>

As far as I know, Z-depth does not work with transparency, including opacity mapped planes.

The only way I know to get this working is to use a vray Displacement modifier & use clipping to create real geometry  
Hope this helps

---

<div class="post-metadata">

**Author:** ![joconnell](https://dub1.discourse-cdn.com/chaosprd/user_avatar/forums.chaos.com/joconnell/32/36063_2.png) [@joconnell](https://forums.chaos.com/u/joconnell)\
**Post date:** [March 16, 2013, 12:25pm UTC](https://forums.chaos.com/t/zdepth-normals-not-respecting-opacity-maps-on-cards/44581/3 "2013-03-16T12:25:06Z")

</div>

Cheers, I’ll try that so. Much appreciated.

---

<div class="post-metadata">

**Author:** ![3DMK](https://dub1.discourse-cdn.com/chaosprd/user_avatar/forums.chaos.com/3dmk/32/388_2.png) [@3DMK](https://forums.chaos.com/u/3DMK)\
**Post date:** [March 17, 2013, 6:28pm UTC](https://forums.chaos.com/t/zdepth-normals-not-respecting-opacity-maps-on-cards/44581/4 "2013-03-17T18:28:43Z")

</div>

Sorry about my previous post…I was a bit tired & wrote before I thought about it enough

_ **Yes it can work** _ as I have done this with alpha mapped leaves on trees.

Remember though that your alpha map should be set to NO filtering and your render should be done with fixed anti-alias set at [1]

---

<div class="post-metadata">

**Author:** ![joconnell](https://dub1.discourse-cdn.com/chaosprd/user_avatar/forums.chaos.com/joconnell/32/36063_2.png) [@joconnell](https://forums.chaos.com/u/joconnell)\
**Post date:** [March 19, 2013, 12:09pm UTC](https://forums.chaos.com/t/zdepth-normals-not-respecting-opacity-maps-on-cards/44581/5 "2013-03-19T12:09:09Z")

</div>

Hmm - so a second pass needed then. Good to know though, I’ll do a simple test here. Vlado mentioned in another thread that they’ve made progress on it for regular maps too.

---

<div class="post-metadata">

**Author:** ![Undersky](https://dub1.discourse-cdn.com/chaosprd/user_avatar/forums.chaos.com/undersky/32/11855_2.png) [@Undersky](https://forums.chaos.com/u/Undersky)\
**Post date:** [March 19, 2013, 12:16pm UTC](https://forums.chaos.com/t/zdepth-normals-not-respecting-opacity-maps-on-cards/44581/6 "2013-03-19T12:16:14Z")

</div>

Just select “Affect channels: All channels” and it will work. It’s in the Refraction part of the shader, a dropdown menu.

---

<div class="post-metadata">

**Author:** ![joconnell](https://dub1.discourse-cdn.com/chaosprd/user_avatar/forums.chaos.com/joconnell/32/36063_2.png) [@joconnell](https://forums.chaos.com/u/joconnell)\
**Post date:** [March 19, 2013, 12:41pm UTC](https://forums.chaos.com/t/zdepth-normals-not-respecting-opacity-maps-on-cards/44581/7 "2013-03-19T12:41:21Z")

</div>

Done but it doesn’t work - if you’ve got overlapping cards then it gets confused 😕

---

<div class="post-metadata">

**Author:** ![Undersky](https://dub1.discourse-cdn.com/chaosprd/user_avatar/forums.chaos.com/undersky/32/11855_2.png) [@Undersky](https://forums.chaos.com/u/Undersky)\
**Post date:** [March 19, 2013, 1:40pm UTC](https://forums.chaos.com/t/zdepth-normals-not-respecting-opacity-maps-on-cards/44581/8 "2013-03-19T13:40:01Z")

</div>

> [@joconnell](#):
>
> Done but it doesn’t work - if you’ve got overlapping cards then it gets confused 😕

Weird, I tried it with a couple of boxes, which were overlapping, and I’m pretty sure it worked (not gonna swear on it though =). Perhaps a ray depth limit?

---

<div class="post-metadata">

**Author:** ![joconnell](https://dub1.discourse-cdn.com/chaosprd/user_avatar/forums.chaos.com/joconnell/32/36063_2.png) [@joconnell](https://forums.chaos.com/u/joconnell)\
**Post date:** [March 19, 2013, 6:43pm UTC](https://forums.chaos.com/t/zdepth-normals-not-respecting-opacity-maps-on-cards/44581/9 "2013-03-19T18:43:25Z")

</div>

It might well be - I’ll have another play around with it again and see can I get anything to behave. Cheers for offering another perspective on it!
