# How to render a transparent background but keep the reflections of the window/glass material

**URL:** <https://forums.chaos.com/t/how-to-render-a-transparent-background-but-keep-the-reflections-of-the-window-glass-material/107692>\
**Category:** General\
**Created:** [November 30, 2021, 1:35pm UTC](https://forums.chaos.com/t/how-to-render-a-transparent-background-but-keep-the-reflections-of-the-window-glass-material/107692 "2021-11-30T13:35:34Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![christophe913](https://avatars.discourse-cdn.com/v4/letter/c/8e7dd6/32.png) [@christophe913](https://forums.chaos.com/u/christophe913)\
**Post date:** [November 30, 2021, 1:35pm UTC](https://forums.chaos.com/t/how-to-render-a-transparent-background-but-keep-the-reflections-of-the-window-glass-material/107692/1 "2021-11-30T13:35:34Z")

</div>

Hi there,

See a simple interior scene of kitchen with windows looking towards outside.  
As you can see the background is a simple standard sky.

Now, I want to render this image with a **transparent sky/background** but the **keep the reflections** on the windows, because I want to post-edit this picture and put my own background in it.

Possible? (check some render elements channels? I don’t know…)  
 ![](https://forums.chaos.com/core/image/gif;base64,R0lGODlhAQABAPABAP///wAAACH5BAEKAAAALAAAAAABAAEAAAICRAEAOw==)​

Thanks in advance for all your help!  
Kind regards,  
Christophe.

 ![2021-11-30 14_21_36-scene glass reflection_transparent background.jpg](https://europe1.discourse-cdn.com/chaosprd/original/3X/4/a/4ad1b796fc9ad46e4658f94dc51cbc14a785bda7.jpeg)

---

<div class="post-metadata">

**Author:** ![Vizioen](https://dub1.discourse-cdn.com/chaosprd/user_avatar/forums.chaos.com/vizioen/32/59355_2.png) [@Vizioen](https://forums.chaos.com/u/Vizioen)\
**Post date:** [November 30, 2021, 3:29pm UTC](https://forums.chaos.com/t/how-to-render-a-transparent-background-but-keep-the-reflections-of-the-window-glass-material/107692/2 "2021-11-30T15:29:32Z")

</div>

Set your glass to affect color + alpha in the refraction.

Alternatively instead of a VraySky you can put your background on a plane or dome (depending on the BG), position it like you want behind the glass, with a vraylightmtl (your bg as the color texture) and in the geometry itself disable cast/receive shadows and in vrayproperties disable generate GI. You can then play with the VrayLightMtl multiplier for the desired strength.

---

<div class="post-metadata">

**Author:** ![christophe913](https://avatars.discourse-cdn.com/v4/letter/c/8e7dd6/32.png) [@christophe913](https://forums.chaos.com/u/christophe913)\
**Post date:** [November 30, 2021, 3:42pm UTC](https://forums.chaos.com/t/how-to-render-a-transparent-background-but-keep-the-reflections-of-the-window-glass-material/107692/3 "2021-11-30T15:42:45Z")

</div>

Thanks for your quick reply.  
It seems that vraylightmtl is only available in Vray for 3D Max ?  
Is there another possible workaround for Vray Sketchup?

Thanks!

---

<div class="post-metadata">

**Author:** ![Vizioen](https://dub1.discourse-cdn.com/chaosprd/user_avatar/forums.chaos.com/vizioen/32/59355_2.png) [@Vizioen](https://forums.chaos.com/u/Vizioen)\
**Post date:** [November 30, 2021, 3:53pm UTC](https://forums.chaos.com/t/how-to-render-a-transparent-background-but-keep-the-reflections-of-the-window-glass-material/107692/4 "2021-11-30T15:53:30Z")

</div>

My mistake, I didn’t see I was answering in the Sketchup forum haha. SketchUp has an equivalent though: [Emissive - V-Ray 5 for SketchUp - Chaos Help](https://docs.chaos.com/display/VSKETCHUP/Emissive)

---

<div class="post-metadata">

**Author:** ![christophe913](https://avatars.discourse-cdn.com/v4/letter/c/8e7dd6/32.png) [@christophe913](https://forums.chaos.com/u/christophe913)\
**Post date:** [November 30, 2021, 4:54pm UTC](https://forums.chaos.com/t/how-to-render-a-transparent-background-but-keep-the-reflections-of-the-window-glass-material/107692/5 "2021-11-30T16:54:27Z")

</div>

Thanks.  
So, I put a background-picture in an Emissive material. So, in that way I can indeed play with the illumination strength.  
The problem though is that after rendering the background-picture-Emissive material looks blurry (after denoiser has did its job).  
Any suggestion how I can fix the blurriness?

(The blurriness was actually the reason why I want to put in the background afterwards, in the pos-editing process in Photoshop)

Thanks!

---

<div class="post-metadata">

**Author:** ![manishpaul\_simon](https://dub1.discourse-cdn.com/chaosprd/user_avatar/forums.chaos.com/manishpaul_simon/32/67063_2.png) [@manishpaul\_simon](https://forums.chaos.com/u/manishpaul_simon)\
**Post date:** [December 2, 2021, 10:07am UTC](https://forums.chaos.com/t/how-to-render-a-transparent-background-but-keep-the-reflections-of-the-window-glass-material/107692/6 "2021-12-02T10:07:17Z")

</div>

Hi Christophe,

You can add a cryptomatte mask render element and add the background later in photoshop. You will be able to retain the reflections as well.  
Just make sure to change the background blending mode to multiply and reduce the opacity.

Alternatively, you can also add a render ID to the material and add the multimatte render element.

I mostly use the cryptomatte mask these days as it assigns colors for different materials correctly.

I would suggest that you try using the composite techniques within the Vray frame buffer to change your background. I will be releasing a tutorial on this soon on my youtube channel

> **[Sketchup Guru](https://www.youtube.com/channel/UCqqbdNheJVnFfTNCFZzcMPQ)**
>
> Design Smarter, Build Better

---

<div class="post-metadata">

**Author:** ![christophe913](https://avatars.discourse-cdn.com/v4/letter/c/8e7dd6/32.png) [@christophe913](https://forums.chaos.com/u/christophe913)\
**Post date:** [December 2, 2021, 7:05pm UTC](https://forums.chaos.com/t/how-to-render-a-transparent-background-but-keep-the-reflections-of-the-window-glass-material/107692/7 "2021-12-02T19:05:13Z")

</div>

Ok thanks for the tips @manishpaul_simon . I will search it out!
