# Vray Shadow pass

**URL:** <https://forums.chaos.com/t/vray-shadow-pass/16008>\
**Category:** General\
**Created:** [October 18, 2007, 12:29pm UTC](https://forums.chaos.com/t/vray-shadow-pass/16008 "2007-10-18T12:29:07Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![breader](https://avatars.discourse-cdn.com/v4/letter/b/bc79bd/32.png) [@breader](https://forums.chaos.com/u/breader)\
**Post date:** [October 18, 2007, 12:29pm UTC](https://forums.chaos.com/t/vray-shadow-pass/16008/1 "2007-10-18T12:29:07Z")

</div>

Hi,

I am trying to produce an alpha channel of shadows only or a pass with only my shadows!, I am quite new to VRAY so A bit of an explanation would be appreciated if it is at all possible.

Many thanks in advance.

---

<div class="post-metadata">

**Author:** ![Morbid\_Angel](https://dub1.discourse-cdn.com/chaosprd/user_avatar/forums.chaos.com/morbid_angel/32/21272_2.png) [@Morbid\_Angel](https://forums.chaos.com/u/Morbid_Angel)\
**Post date:** [October 18, 2007, 3:52pm UTC](https://forums.chaos.com/t/vray-shadow-pass/16008/2 "2007-10-18T15:52:51Z")

</div>

you may approach it in few ways:  
1 - apply single vray material wrapper to the entire scene, and specify to render only shadows, if you set alpha contribution -1 the returned result in alpha will be shadows only.  
2 - you can apply a single vray material to the entire scene, take all your lights, set their intensity to 0.001 and shadow color to full white, this will also return shadow only in render.  
3 - you may play around with render elements shadow passes, they also generate shadows, but often we use custom shadow passes created with methods above.

---

<div class="post-metadata">

**Author:** ![Jynks](https://dub1.discourse-cdn.com/chaosprd/user_avatar/forums.chaos.com/jynks/32/27878_2.png) [@Jynks](https://forums.chaos.com/u/Jynks)\
**Post date:** [May 12, 2008, 10:42am UTC](https://forums.chaos.com/t/vray-shadow-pass/16008/3 "2008-05-12T10:42:39Z")

</div>

I can not seam to get this working… I wish to render just the shadows with an alpha for easy compositing.

I have tried both methods.

Could you please explain in more detail…

I have a simple scene illuminated with a single light and a GI LC on both bounces.

This is the render

If i click OFF “use global settings” in the lights “shadows” drop down thing… i get this… but it looks wrong?

This is the method as i understand it from your description using the lights at .001 etc etc

This is the method using the vrayMltWrapper method as i understood it from your description.

As you can see neither is rendering just the shadows on the render.. and neither is showing just teh shadows on the alpha map.

I am using rc2 and max2009

Any help would be appreciated.

---

<div class="post-metadata">

**Author:** ![Jynks](https://dub1.discourse-cdn.com/chaosprd/user_avatar/forums.chaos.com/jynks/32/27878_2.png) [@Jynks](https://forums.chaos.com/u/Jynks)\
**Post date:** [May 12, 2008, 11:13am UTC](https://forums.chaos.com/t/vray-shadow-pass/16008/4 "2008-05-12T11:13:52Z")

</div>

This is the redner element - vray\_matShadow…

So I guess this is the way to go… but tthe alpha is still like in the other pics i posted.,… i am not getting the alpha of just teh shadows… semi transparent and such?

---

<div class="post-metadata">

**Author:** ![RErender](https://dub1.discourse-cdn.com/chaosprd/user_avatar/forums.chaos.com/rerender/32/42964_2.png) [@RErender](https://forums.chaos.com/u/RErender)\
**Post date:** [May 12, 2008, 2:11pm UTC](https://forums.chaos.com/t/vray-shadow-pass/16008/5 "2008-05-12T14:11:16Z")

</div>

is the alpha contribution of the matte set to 0 or -1?

---

<div class="post-metadata">

**Author:** ![dapeter](https://avatars.discourse-cdn.com/v4/letter/d/50afbb/32.png) [@dapeter](https://forums.chaos.com/u/dapeter)\
**Post date:** [May 12, 2008, 10:10pm UTC](https://forums.chaos.com/t/vray-shadow-pass/16008/6 "2008-05-12T22:10:35Z")

</div>

In the VrayMtlWrapper, uncheck ‘No GI on other mattes’ - that made it work for me.
