# Way to have shadows affect alpha but without Matte Object?

**URL:** <https://forums.chaos.com/t/way-to-have-shadows-affect-alpha-but-without-matte-object/106427>\
**Category:** General\
**Created:** [September 7, 2021, 7:18pm UTC](https://forums.chaos.com/t/way-to-have-shadows-affect-alpha-but-without-matte-object/106427 "2021-09-07T19:18:37Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![dlparisi](https://dub1.discourse-cdn.com/chaosprd/user_avatar/forums.chaos.com/dlparisi/32/14236_2.png) [@dlparisi](https://forums.chaos.com/u/dlparisi)\
**Post date:** [September 7, 2021, 7:18pm UTC](https://forums.chaos.com/t/way-to-have-shadows-affect-alpha-but-without-matte-object/106427/1 "2021-09-07T19:18:37Z")

</div>

I’m trying to have an object (a road in this case) have the shadows from other objects affect the alpha channel but also have the texture of the road show up in the RGB channel. I can get the shadows to affect the alpha via the properties Matte Properties section (Matte checked, alpha = -1, Shadows and Affect Alpha checked) but this only works if Matte Object is checked. In this setup the material for the object does not show in the rgb channel (as expected). I’d like to set it up so the road material shows up in the RGB but the alpha is only opaque where shadows fall on it. Is this possible?

---

<div class="post-metadata">

**Author:** ![hermit.crab](https://dub1.discourse-cdn.com/chaosprd/user_avatar/forums.chaos.com/hermit.crab/32/46825_2.png) [@hermit.crab](https://forums.chaos.com/u/hermit.crab)\
**Post date:** [September 8, 2021, 8:18am UTC](https://forums.chaos.com/t/way-to-have-shadows-affect-alpha-but-without-matte-object/106427/2 "2021-09-08T08:18:09Z")

</div>

It is, with a second render. Just render a separate alpha channel with the road as a matte.

---

<div class="post-metadata">

**Author:** ![dlparisi](https://dub1.discourse-cdn.com/chaosprd/user_avatar/forums.chaos.com/dlparisi/32/14236_2.png) [@dlparisi](https://forums.chaos.com/u/dlparisi)\
**Post date:** [September 8, 2021, 2:56pm UTC](https://forums.chaos.com/t/way-to-have-shadows-affect-alpha-but-without-matte-object/106427/3 "2021-09-08T14:56:57Z")

</div>

Thanks. That’s what I’ve been doing but I was trying to get it all done with one render.
