# Keep reflections in glas and fully transparent background at the same moment?

**URL:** <https://forums.chaos.com/t/keep-reflections-in-glas-and-fully-transparent-background-at-the-same-moment/85563>\
**Category:** General\
**Created:** [November 5, 2017, 12:03am UTC](https://forums.chaos.com/t/keep-reflections-in-glas-and-fully-transparent-background-at-the-same-moment/85563 "2017-11-05T00:03:01Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Pretty\_Picture\_Girl](https://avatars.discourse-cdn.com/v4/letter/p/7ba0ec/32.png) [@Pretty\_Picture\_Girl](https://forums.chaos.com/u/Pretty_Picture_Girl)\
**Post date:** [November 5, 2017, 12:03am UTC](https://forums.chaos.com/t/keep-reflections-in-glas-and-fully-transparent-background-at-the-same-moment/85563/1 "2017-11-05T00:03:01Z")

</div>

Hi,

got a problem with reflections. Maybe someone has a suggestion?

Basically I want the image below (Image 1) but need to get rid of the black background in the areas which show the black “sky”  
I’d only want the reflections to show, so that I can drop a background image behind the rendered png image in post production.

I tried the Render Elements Reflections & Refractions, but get the black background even in the Png version. Without this black I could use that to get the reflections

The tricky part is:

I need the reflections in the glass  
I need the exterior furniture on the balcony visible  
I need only the relections in the sky area

Alpha channel in glas material does not help as it affects the whole window (=I lose the exterior furniture).

I did not set a background image in the environment tab.  
Even when I set the background color to white 1 in the environment tab, still results in a “blueish” sky (see image 3). I need transparency & reflections where the sky is blue.  
If I set white and 10 I get white as background the sky is white but the reflections are fully absorbed by it.  
When I set refraction of the glassmaterial to affect Color & Alpha I lose the balcony to some extent. (see image 4)

As I have many images where I would want to add a background in the sky area, but behind the rendered image with reflections I would appreciate a suggestion where I need to render each image only once and only drop the background behind in post.

Any suggestions?

Thanks!

 ![Image 1Low res/quality test rendering. How can I keep the reflections (in red circles) in the glass but have the black background disappear and be transparent_.jpg](https://europe1.discourse-cdn.com/chaosprd/original/3X/8/c/8c3d0d0230305428bc3f6157148de956103d870d.jpeg)  
 ![Image 2Render Element ReflectionsNeed this without black background.jpg](https://europe1.discourse-cdn.com/chaosprd/original/3X/f/1/f1a78a3400cc344baf70a1a46b9736099f808b29.jpeg)  
 ![Image 3 No environment background imageWhite color 1.jpg](https://europe1.discourse-cdn.com/chaosprd/original/3X/c/f/cf2e2cfa232aad6147401e5ca51c24d4fd046481.jpeg)  
 ![Image 4Reflections in glas are lost & post background would show through under exterior balcony..jpg](https://europe1.discourse-cdn.com/chaosprd/original/3X/a/2/a2a94031250bc9059ca0c8e020dfe0114d2dcab5.jpeg)

---

<div class="post-metadata">

**Author:** ![Pretty\_Picture\_Girl](https://avatars.discourse-cdn.com/v4/letter/p/7ba0ec/32.png) [@Pretty\_Picture\_Girl](https://forums.chaos.com/u/Pretty_Picture_Girl)\
**Post date:** [November 5, 2017, 9:21am UTC](https://forums.chaos.com/t/keep-reflections-in-glas-and-fully-transparent-background-at-the-same-moment/85563/2 "2017-11-05T09:21:41Z")

</div>

To put it in shorter words:

I want my render output to have reflections and refraction on the glass materials, have it show the exterior furniture & balcony to its full extent behind reflections, and have the rendering without any background so I can easely import background image.

---

<div class="post-metadata">

**Author:** ![Grigio18](https://dub1.discourse-cdn.com/chaosprd/user_avatar/forums.chaos.com/grigio18/32/55023_2.png) [@Grigio18](https://forums.chaos.com/u/Grigio18)\
**Post date:** [November 5, 2017, 9:43am UTC](https://forums.chaos.com/t/keep-reflections-in-glas-and-fully-transparent-background-at-the-same-moment/85563/3 "2017-11-05T09:43:06Z")

</div>

2 steps:

1)Glass material, in reflection tab, search for “affect channel” , set to color + alpha or all channels. ( maybe you ll need to do the same for the refraction tab)  
2) if you have a dome light be sure to deactivate the affect alpha option. save to png or exr to bake the alpha inside the image. 😉

---

<div class="post-metadata">

**Author:** ![Pretty\_Picture\_Girl](https://avatars.discourse-cdn.com/v4/letter/p/7ba0ec/32.png) [@Pretty\_Picture\_Girl](https://forums.chaos.com/u/Pretty_Picture_Girl)\
**Post date:** [November 5, 2017, 9:56am UTC](https://forums.chaos.com/t/keep-reflections-in-glas-and-fully-transparent-background-at-the-same-moment/85563/4 "2017-11-05T09:56:01Z")

</div>

Hi Grigio,

thanks.Tried that already.

When I set refraction of the glassmaterial to affect Color & Alpha I lose the balcony to some extent. (see image 4)  
Basically the balcony elements behind the glass turns semi transparent then.  
Still I want to keep those elements completly and have the reflections show up slightly on top of them.

Above the balcony is an area of sky where I only want to have the reflections and nothing else (without the black which it shows in image 1. So that when I drop the background in it shows the background only in this area and behind the glass reflections.

There are no dome lights. Only a Vray sun.

Any other thoughts?

---

<div class="post-metadata">

**Author:** ![toniboni](https://dub1.discourse-cdn.com/chaosprd/user_avatar/forums.chaos.com/toniboni/32/55841_2.png) [@toniboni](https://forums.chaos.com/u/toniboni)\
**Post date:** [November 6, 2017, 10:52am UTC](https://forums.chaos.com/t/keep-reflections-in-glas-and-fully-transparent-background-at-the-same-moment/85563/5 "2017-11-06T10:52:46Z")

</div>

Hey there,  
Just passing by to tell you that this is an issue I’ve been dealing with ever since. Found some cheesy workarounds (using the reflection pass, etc…) but never really suceeded. It would be so cool to find a solution here!

---

<div class="post-metadata">

**Author:** ![Pretty\_Picture\_Girl](https://avatars.discourse-cdn.com/v4/letter/p/7ba0ec/32.png) [@Pretty\_Picture\_Girl](https://forums.chaos.com/u/Pretty_Picture_Girl)\
**Post date:** [November 7, 2017, 8:55am UTC](https://forums.chaos.com/t/keep-reflections-in-glas-and-fully-transparent-background-at-the-same-moment/85563/6 "2017-11-07T08:55:07Z")

</div>

Dear Chaos Group, could you please give us some ideas on this? Seems this is interesting to a number of people and we are missing a good solution/efficient workflow on this. Thanks so much.  
P.S. Have not back from support either. (Yet!)

---

<div class="post-metadata">

**Author:** ![Peter.Chaushev](https://dub1.discourse-cdn.com/chaosprd/user_avatar/forums.chaos.com/peter.chaushev/32/66949_2.png) [@Peter.Chaushev](https://forums.chaos.com/u/Peter.Chaushev)\
**Post date:** [November 16, 2017, 7:09pm UTC](https://forums.chaos.com/t/keep-reflections-in-glas-and-fully-transparent-background-at-the-same-moment/85563/7 "2017-11-16T19:09:49Z")

</div>

As Grigio18 already mentioned, simply set the window material’s Reflection and Refraction “ **Affect channel** ” options both to “ **Color and Alpha** ”. If Dome Light is used, disable its “ **Affect alpha** ” option.  
Additionally, to prevent losing the alpha of objects on the other side of the windows, enable the window material’s “ **Back Side Reflect** ” option in the Reflection section.

Kind regards,  
Peter

---

<div class="post-metadata">

**Author:** ![joelly3d](https://dub1.discourse-cdn.com/chaosprd/user_avatar/forums.chaos.com/joelly3d/32/49391_2.png) [@joelly3d](https://forums.chaos.com/u/joelly3d)\
**Post date:** [July 6, 2021, 9:40pm UTC](https://forums.chaos.com/t/keep-reflections-in-glas-and-fully-transparent-background-at-the-same-moment/85563/8 "2021-07-06T21:40:03Z")

</div>

That was it… reflect on backside is what i didn’t do. That fixed her up. Thanks Peter!
