# correct z-depth mask with opacity mapped stuff?

**URL:** <https://forums.chaos.com/t/correct-z-depth-mask-with-opacity-mapped-stuff/11233>\
**Category:** Issues\
**Created:** [June 22, 2006, 5:51am UTC](https://forums.chaos.com/t/correct-z-depth-mask-with-opacity-mapped-stuff/11233 "2006-06-22T05:51:58Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![vermu](https://avatars.discourse-cdn.com/v4/letter/v/b4bc9f/32.png) [@vermu](https://forums.chaos.com/u/vermu)\
**Post date:** [June 22, 2006, 5:51am UTC](https://forums.chaos.com/t/correct-z-depth-mask-with-opacity-mapped-stuff/11233/1 "2006-06-22T05:51:58Z")

</div>

Hi,

I am trying to render a z-depth on a scene where I have alots of opacity mapped trees and bushes. Pretty standard arch viz stuff. Problem is that texture planes render as planes in mask not preserving the transparency. Is it possible to render correct z-depth mask when dealing with opacity mapped stuff.

-Vermu

---

<div class="post-metadata">

**Author:** ![instinct](https://dub1.discourse-cdn.com/chaosprd/user_avatar/forums.chaos.com/instinct/32/74489_2.png) [@instinct](https://forums.chaos.com/u/instinct)\
**Post date:** [June 22, 2006, 6:01am UTC](https://forums.chaos.com/t/correct-z-depth-mask-with-opacity-mapped-stuff/11233/2 "2006-06-22T06:01:04Z")

</div>

hm. while thinkin a little i doubt it is…because how would you do semitransperency in a greyscale depth map. :?: not sure tho

---

<div class="post-metadata">

**Author:** ![sv](https://dub1.discourse-cdn.com/chaosprd/user_avatar/forums.chaos.com/sv/32/4186_2.png) [@sv](https://forums.chaos.com/u/sv)\
**Post date:** [June 22, 2006, 6:09am UTC](https://forums.chaos.com/t/correct-z-depth-mask-with-opacity-mapped-stuff/11233/3 "2006-06-22T06:09:59Z")

</div>

i started this thread a few days ago:

[http://www.chaosgroup.com/forum/phpBB2/viewtopic.php?t=15626](http://www.chaosgroup.com/forum/phpBB2/viewtopic.php?t=15626)

I’m also having this problem, but found that even using the blur script for fog didn’t work properly, as the matte material override the alpha.
