# How can I optimize this render of a double-glass window?

**URL:** <https://blenderartists.org/t/how-can-i-optimize-this-render-of-a-double-glass-window/1135778>\
**Category:** Lighting and Rendering\
**Created:** [November 26, 2018, 12:24pm UTC](https://blenderartists.org/t/how-can-i-optimize-this-render-of-a-double-glass-window/1135778 "2018-11-26T12:24:30Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![Janneman](https://blenderartists.org/user_avatar/blenderartists.org/janneman/32/1045535_2.png) [@Janneman](https://blenderartists.org/u/Janneman)\
**Post date:** [November 26, 2018, 12:24pm UTC](https://blenderartists.org/t/how-can-i-optimize-this-render-of-a-double-glass-window/1135778/1 "2018-11-26T12:24:30Z")

</div>

I’m working on this window render, and the render seems to need an unusually high amount of samples to be decent. Normally I render the foreground and background seperately, but in this case since it’s glass, I render both at the same time. Even rendering it at 10000 samples (with denoiser! still gives me some noise.  
I didn’t play with the render settings yet, it’s all quite standard (which seems to work fine in most cases).  
Any advice would be appreciated, as I’d like to reduce the render time for this since I need to render more similar windows later. I’d prefer to be able to get away with \<500 samples.

---

<div class="post-metadata">

**Author:** ![filibis](https://blenderartists.org/user_avatar/blenderartists.org/filibis/32/623617_2.png) [@filibis](https://blenderartists.org/u/filibis)\
**Post date:** [November 26, 2018, 1:55pm UTC](https://blenderartists.org/t/how-can-i-optimize-this-render-of-a-double-glass-window/1135778/2 "2018-11-26T13:55:37Z")

</div>

You can try using this addon: [**OptiX-Denoiser-for-Blender**](https://github.com/troopy28/OptiX-Denoiser-for-Blender)

More info about the addon at [**this topic**](https://blenderartists.org/t/optix-ai-denoiser/1134494).

---

<div class="post-metadata">

**Author:** ![Janneman](https://blenderartists.org/user_avatar/blenderartists.org/janneman/32/1045535_2.png) [@Janneman](https://blenderartists.org/u/Janneman)\
**Post date:** [November 26, 2018, 2:30pm UTC](https://blenderartists.org/t/how-can-i-optimize-this-render-of-a-double-glass-window/1135778/3 "2018-11-26T14:30:24Z")

</div>

Whoa. This is really cool stuff. I’m trying it now, thank you!!

---

<div class="post-metadata">

**Author:** ![YAFU](https://blenderartists.org/user_avatar/blenderartists.org/yafu/32/25605_2.png) [@YAFU](https://blenderartists.org/u/YAFU)\
**Post date:** [November 26, 2018, 2:32pm UTC](https://blenderartists.org/t/how-can-i-optimize-this-render-of-a-double-glass-window/1135778/4 "2018-11-26T14:32:36Z")

</div>

Hi.  
To try to reduce fireflies (hard white isolated spots) you try in Render tab, under Sampling \> Settings, set Clamp Indirect=10. If that is not enough, reduce until Clamp Indirect=5, but not less than 5.

---

<div class="post-metadata">

**Author:** ![Janneman](https://blenderartists.org/user_avatar/blenderartists.org/janneman/32/1045535_2.png) [@Janneman](https://blenderartists.org/u/Janneman)\
**Post date:** [November 26, 2018, 2:36pm UTC](https://blenderartists.org/t/how-can-i-optimize-this-render-of-a-double-glass-window/1135778/5 "2018-11-26T14:36:16Z")

</div>

Thank you! These render settings are an important part of Blender that I can no longer neglect.

---

<div class="post-metadata">

**Author:** ![sundialsvc4](https://blenderartists.org/letter_avatar_proxy/v4/letter/s/ecae2f/32.png) [@sundialsvc4](https://blenderartists.org/u/sundialsvc4)\
**Post date:** [November 26, 2018, 2:50pm UTC](https://blenderartists.org/t/how-can-i-optimize-this-render-of-a-double-glass-window/1135778/6 "2018-11-26T14:50:59Z")

</div>

But also, consider faking the glass. Look at _what the glass is doing to the light_ to give the impression that “there’s a piece of glass here.” There’s a slight reduction in hue and saturation, a slight blue cast to the entire region, and a hint of a reflection.

One of my (conventional) photographic mentors kept saying to me, _“Don’t look at the scene. Look at the **light.** ”_ It took me a long time to realize what he was talking about.

Sometimes you _do_ need to “model physical reality,” and when you do, you generally can. But, sometimes you don’t. And _if_ you don’t, you can save a tremendous amount of computer time. Seriously consider, “how important is this-or-that effect _actually_ going to be?” “Is it going to ‘make or break the shot’ if I fake it, instead?”

- _“Ingrid, fake it.”_ – Alfred Hitchcock’s acting advice to Ingrid Bergman.

Remember also that you can _combine renderers_ to produce a single shot most efficiently. Cycles is only one of the resources at your disposal.

---

<div class="post-metadata">

**Author:** ![Janneman](https://blenderartists.org/user_avatar/blenderartists.org/janneman/32/1045535_2.png) [@Janneman](https://blenderartists.org/u/Janneman)\
**Post date:** [November 26, 2018, 9:00pm UTC](https://blenderartists.org/t/how-can-i-optimize-this-render-of-a-double-glass-window/1135778/7 "2018-11-26T21:00:12Z")

</div>

@sundialsvc4 I completely agree, this is very good advice. Thanks 👍

---

<div class="post-metadata">

**Author:** ![CarlG](https://blenderartists.org/letter_avatar_proxy/v4/letter/c/aca169/32.png) [@CarlG](https://blenderartists.org/u/CarlG)\
**Post date:** [November 27, 2018, 7:07am UTC](https://blenderartists.org/t/how-can-i-optimize-this-render-of-a-double-glass-window/1135778/8 "2018-11-27T07:07:54Z")

</div>

I’m a big fan of faking pretty much everything glass, such as making them single faced, transparent shadows etc. But if I were making a product shot of a glass window, I’d probably lower the use of fakes. A real glass windows could have two or three layers of glass with space between, that’s like 6 faces light has to pass through.

In this case, I’d probably do fresnel-\>refraction/glossy (glass shader) combined with transparency based shadow handling and use actual solid cubes for the layers of glass.

---

<div class="post-metadata">

**Author:** ![sundialsvc4](https://blenderartists.org/letter_avatar_proxy/v4/letter/s/ecae2f/32.png) [@sundialsvc4](https://blenderartists.org/u/sundialsvc4)\
**Post date:** [November 27, 2018, 1:39pm UTC](https://blenderartists.org/t/how-can-i-optimize-this-render-of-a-double-glass-window/1135778/9 "2018-11-27T13:39:58Z")

</div>

If I were doing a _product shot_ for the manufacturer of such windows, I might conclude that absolute close-up realism is essential such that I would actually model the glass to get accurate refractions because that would be viewed as essential by the client who’s paying for all that computer-time.

But “actual glass” is something that you almost never have to do. I’ve watched lots of people here struggling with “sunlight pouring in through a window,” trying to get that sunlight to _be_ what actually illuminates the room. I learned everything I needed to know about that sort of thing by assisting _Arizona Highways_ photographers as they shot “a warmly sun-lit hotel interior” … at two o’clock in the morning on a new moon night. You absolutely couldn’t tell it, but _all_ of the lighting in that centerfold photograph was fake.
