# Light leak at edges inside room and irradiance volume issues

**URL:** <https://blenderartists.org/t/light-leak-at-edges-inside-room-and-irradiance-volume-issues/1135864>\
**Category:** Blender Development Discussion\
**Created:** [November 27, 2018, 12:07am UTC](https://blenderartists.org/t/light-leak-at-edges-inside-room-and-irradiance-volume-issues/1135864 "2018-11-27T00:07:29Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![cekuhnen](https://blenderartists.org/user_avatar/blenderartists.org/cekuhnen/32/496_2.png) [@cekuhnen](https://blenderartists.org/u/cekuhnen)\
**Post date:** [November 27, 2018, 12:07am UTC](https://blenderartists.org/t/light-leak-at-edges-inside-room-and-irradiance-volume-issues/1135864/1 "2018-11-27T00:07:29Z")

</div>

Hi today in class we experimented with eeVee in interior spaces and encountered a lot of light leaks along edges etc.

some floor related issues we were able to fix with the contact shadow option.

others like in the image remained.

 ![38%20PM](https://blenderartists.org/uploads/default/original/4X/d/e/8/de8d3dbc731f9c2b063a2f5a27ac99211a5aa2f4.jpeg)

an regarding the irradiance volume yesterday I read the room should be inside the space.  
when I do this I get however GI light glow artifacts on the wall (marked with the arrow)

 ![57%20PM](https://blenderartists.org/uploads/default/original/4X/f/3/1/f318341142d9e688b74a04460d5714ad1f37718b.jpeg)

any tip how to improve this?

---

<div class="post-metadata">

**Author:** ![PierreSchiller](https://blenderartists.org/user_avatar/blenderartists.org/pierreschiller/32/1024999_2.png) [@PierreSchiller](https://blenderartists.org/u/PierreSchiller)\
**Post date:** [November 27, 2018, 12:16am UTC](https://blenderartists.org/t/light-leak-at-edges-inside-room-and-irradiance-volume-issues/1135864/2 "2018-11-27T00:16:12Z")

</div>

Subscribing. This happened to me yesterday. A perfect cube, just remove 1 face, I get this same result.

---

<div class="post-metadata">

**Author:** ![cekuhnen](https://blenderartists.org/user_avatar/blenderartists.org/cekuhnen/32/496_2.png) [@cekuhnen](https://blenderartists.org/u/cekuhnen)\
**Post date:** [November 27, 2018, 12:24am UTC](https://blenderartists.org/t/light-leak-at-edges-inside-room-and-irradiance-volume-issues/1135864/3 "2018-11-27T00:24:36Z")

</div>

I think the faces in my case where inverted.

with a solid model the light leak is upper right corner now

 ![26%20PM](https://blenderartists.org/uploads/default/original/4X/3/a/7/3a752532d0aaeadbc3b32043316821791a786c77.jpeg)

---

<div class="post-metadata">

**Author:** ![hypersomniac](https://blenderartists.org/user_avatar/blenderartists.org/hypersomniac/32/32139_2.png) [@hypersomniac](https://blenderartists.org/u/hypersomniac)\
**Post date:** [November 27, 2018, 12:39am UTC](https://blenderartists.org/t/light-leak-at-edges-inside-room-and-irradiance-volume-issues/1135864/4 "2018-11-27T00:39:53Z")

</div>

Could you share the file? I think this is specular light leaking but not sure.

Also yes, adding thickness to objects mitigate the shadow map “peter panning” artifact. Contact shadows are here for that reason but they might not work when computing the light cache.

---

<div class="post-metadata">

**Author:** ![cekuhnen](https://blenderartists.org/user_avatar/blenderartists.org/cekuhnen/32/496_2.png) [@cekuhnen](https://blenderartists.org/u/cekuhnen)\
**Post date:** [November 27, 2018, 1:02am UTC](https://blenderartists.org/t/light-leak-at-edges-inside-room-and-irradiance-volume-issues/1135864/5 "2018-11-27T01:02:50Z")

</div>

here is the file  
[https://drive.google.com/file/d/14Fe7ckYtK6rFhbdz8hhuNoRELuqGPwBj/view?usp=sharing](https://drive.google.com/file/d/14Fe7ckYtK6rFhbdz8hhuNoRELuqGPwBj/view?usp=sharing)

I noticed that the face was flipped but with flipping and thickness it still has issues upper right corner now.

I think it is a specular leak

 ![26%20PM](https://blenderartists.org/uploads/default/original/4X/3/a/7/3a752532d0aaeadbc3b32043316821791a786c77.jpeg)

when Turing the specularity off it is gone

 ![35%20PM](https://blenderartists.org/uploads/default/original/4X/1/a/b/1abac68b0aed1901d059dca2f1ac61bcee93659c.jpeg)

---

<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 27, 2018, 1:59am UTC](https://blenderartists.org/t/light-leak-at-edges-inside-room-and-irradiance-volume-issues/1135864/6 "2018-11-27T01:59:23Z")

</div>

> [@cekuhnen](#):
>
> when Turing the specularity off it is gone

Could you please elaborate on this? Where to find that specularity value to turn off? I believe we are not talking about material specular value (because changing it doesn’t cause any leaks etc.).

---

<div class="post-metadata">

**Author:** ![cekuhnen](https://blenderartists.org/user_avatar/blenderartists.org/cekuhnen/32/496_2.png) [@cekuhnen](https://blenderartists.org/u/cekuhnen)\
**Post date:** [November 27, 2018, 3:50am UTC](https://blenderartists.org/t/light-leak-at-edges-inside-room-and-irradiance-volume-issues/1135864/7 "2018-11-27T03:50:05Z")

</div>

> [@filibis](#):
>
> Could you please elaborate on this?

The specular reflection of the material principled shader.

---

<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 27, 2018, 3:58am UTC](https://blenderartists.org/t/light-leak-at-edges-inside-room-and-irradiance-volume-issues/1135864/8 "2018-11-27T03:58:24Z")

</div>

As I said changing material specular value doesn’t cause any light leak. Here I set specular to 1 for all materials in the scene and there is no leak. Am I missing something here?

 ![specular_set_1_no_light_leak](https://blenderartists.org/uploads/default/original/4X/9/0/3/90353c18a09b801d94aca90ca27026fc197d0234.jpeg)

---

<div class="post-metadata">

**Author:** ![cekuhnen](https://blenderartists.org/user_avatar/blenderartists.org/cekuhnen/32/496_2.png) [@cekuhnen](https://blenderartists.org/u/cekuhnen)\
**Post date:** [November 27, 2018, 4:53am UTC](https://blenderartists.org/t/light-leak-at-edges-inside-room-and-irradiance-volume-issues/1135864/9 "2018-11-27T04:53:25Z")

</div>

> [@filibis](#):
>
> Am I missing something here?

Look at your result look at my result - same scene.  
MacOS build. see my top right corner has a bright edge?

 ![57%20PM](https://blenderartists.org/uploads/default/original/4X/e/d/6/ed60eee93fc77e7898f9f181d4e12e944cff1e2a.jpeg)

---

<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 27, 2018, 6:07am UTC](https://blenderartists.org/t/light-leak-at-edges-inside-room-and-irradiance-volume-issues/1135864/10 "2018-11-27T06:07:57Z")

</div>

That’s strange.  
Maybe It’s the Blender version, which one are you using? Here is mine:  
 ![image](https://blenderartists.org/uploads/default/original/4X/4/f/f/4ffb18e1515549b0de85484325370450743aa05d.jpeg)

Might there be some differences between MacOS and Windows @hypersomniac ?

---

<div class="post-metadata">

**Author:** ![jendrzych](https://blenderartists.org/user_avatar/blenderartists.org/jendrzych/32/483474_2.png) [@jendrzych](https://blenderartists.org/u/jendrzych)\
**Post date:** [November 27, 2018, 10:45am UTC](https://blenderartists.org/t/light-leak-at-edges-inside-room-and-irradiance-volume-issues/1135864/11 "2018-11-27T10:45:22Z")

</div>

It seems that the Specularity is the problem.  
Windows 10 64 bit  
 ![8alpha2](https://blenderartists.org/uploads/default/original/4X/b/0/2/b028a6e04158f05565d373a6485be7e1dd8a6409.png)

Irradiance baked, spec. = 0.5:

 ![Irr_spec](https://blenderartists.org/uploads/default/original/4X/7/2/0/72093f26725f9a83f29e38ed0198b3adbef83088.png)

No irradiance, spec. = 0.5:

 ![noirr_spec](https://blenderartists.org/uploads/default/original/4X/a/f/b/afb20348e6699a90a1a358d301641633a9cbc938.png)

---

<div class="post-metadata">

**Author:** ![warnotte](https://blenderartists.org/user_avatar/blenderartists.org/warnotte/32/12603_2.png) [@warnotte](https://blenderartists.org/u/warnotte)\
**Post date:** [November 27, 2018, 12:48pm UTC](https://blenderartists.org/t/light-leak-at-edges-inside-room-and-irradiance-volume-issues/1135864/12 "2018-11-27T12:48:41Z")

</div>

I was looking this thread and decide to test something.

And find something similar + strange bug with shadow or i don’t know what.

I you move the light you’ll see that if it goes closer or far away from the cube the artifact appears or not.

 ![BigLeak](https://blenderartists.org/uploads/default/original/4X/6/6/0/6607af5c09112f664b17a9ea17373889b8914a6b.jpeg)

[LightLeaks.blend](https://blenderartists.org/uploads/default/original/4X/3/1/4/3145191ed03f67ccbca54ab44c83833da7d0c033.blend) (98.2 KB)

Blender version :

![Ver](https://blenderartists.org/uploads/default/original/4X/f/0/d/f0df1913a9aeaec717504df6a94b632b8d9cb60c.png)

---

<div class="post-metadata">

**Author:** ![jendrzych](https://blenderartists.org/user_avatar/blenderartists.org/jendrzych/32/483474_2.png) [@jendrzych](https://blenderartists.org/u/jendrzych)\
**Post date:** [November 27, 2018, 1:05pm UTC](https://blenderartists.org/t/light-leak-at-edges-inside-room-and-irradiance-volume-issues/1135864/13 "2018-11-27T13:05:17Z")

</div>

Yep - I’ve the same results. The light’s axis has to be pointed in the examinated meshes edge, though. Type of light doesn’t matter, it gets even worse with the Sun light. Solidifying the mesh does not help either.

---

<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 27, 2018, 1:16pm UTC](https://blenderartists.org/t/light-leak-at-edges-inside-room-and-irradiance-volume-issues/1135864/14 "2018-11-27T13:16:48Z")

</div>

Lamp \> Shadow \> Exponent: Bias for reducing light-bleed on exponential shadow maps

Exponent=9 take some effect for this point lamp.

---

<div class="post-metadata">

**Author:** ![jendrzych](https://blenderartists.org/user_avatar/blenderartists.org/jendrzych/32/483474_2.png) [@jendrzych](https://blenderartists.org/u/jendrzych)\
**Post date:** [November 27, 2018, 1:23pm UTC](https://blenderartists.org/t/light-leak-at-edges-inside-room-and-irradiance-volume-issues/1135864/15 "2018-11-27T13:23:10Z")

</div>

It doesn’t make light look like it should - leaks gets sharp edges, that’s all.

---

<div class="post-metadata">

**Author:** ![cekuhnen](https://blenderartists.org/user_avatar/blenderartists.org/cekuhnen/32/496_2.png) [@cekuhnen](https://blenderartists.org/u/cekuhnen)\
**Post date:** [November 27, 2018, 1:23pm UTC](https://blenderartists.org/t/light-leak-at-edges-inside-room-and-irradiance-volume-issues/1135864/16 "2018-11-27T13:23:48Z")

</div>

> [@jendrzych](#):
>
> Solidifying the mesh does not help either.

Darn issue - in class yesterday we started with sun light for an interior view and my demo was a disaster hahaha

---

<div class="post-metadata">

**Author:** ![jendrzych](https://blenderartists.org/user_avatar/blenderartists.org/jendrzych/32/483474_2.png) [@jendrzych](https://blenderartists.org/u/jendrzych)\
**Post date:** [November 27, 2018, 1:27pm UTC](https://blenderartists.org/t/light-leak-at-edges-inside-room-and-irradiance-volume-issues/1135864/17 "2018-11-27T13:27:01Z")

</div>

Yesterday I was about to make a rough concept visualisation of a building expansion for my client. After some wrestling with light leaks and light blotches, I sticked to a cardboard Sketchup model… Pity…

---

<div class="post-metadata">

**Author:** ![cekuhnen](https://blenderartists.org/user_avatar/blenderartists.org/cekuhnen/32/496_2.png) [@cekuhnen](https://blenderartists.org/u/cekuhnen)\
**Post date:** [November 27, 2018, 1:27pm UTC](https://blenderartists.org/t/light-leak-at-edges-inside-room-and-irradiance-volume-issues/1135864/18 "2018-11-27T13:27:45Z")

</div>

> [@jendrzych](#):
>
> , I sticked to a cardboard Sketchup model…

it seems when using area lights in windows this works better

---

<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 27, 2018, 1:59pm UTC](https://blenderartists.org/t/light-leak-at-edges-inside-room-and-irradiance-volume-issues/1135864/19 "2018-11-27T13:59:06Z")

</div>

Another attempt with another configuration for that specific scene:  
[https://blenderartists.org/uploads/default/original/4X/b/4/4/b448e3c847ac724fe19c7af9f636d8a6a2fca963.mp4](https://blenderartists.org/uploads/default/original/4X/b/4/4/b448e3c847ac724fe19c7af9f636d8a6a2fca963.mp4)

Some strange reflections on walls may come from the used light probes, with which I have not experienced much.

---

<div class="post-metadata">

**Author:** ![lucky](https://blenderartists.org/user_avatar/blenderartists.org/lucky/32/3837_2.png) [@lucky](https://blenderartists.org/u/lucky)\
**Post date:** [November 27, 2018, 2:20pm UTC](https://blenderartists.org/t/light-leak-at-edges-inside-room-and-irradiance-volume-issues/1135864/20 "2018-11-27T14:20:40Z")

</div>

Shadow maps can be pain to setup, however there are ways to fix it:  
-Solidify the meshes  
-Shorten the “Clip Start” distance  
-Decrease the Bias  
-Increase Exponent  
-Play with the Contact Shadows if necessary

 ![1](https://blenderartists.org/uploads/default/original/4X/4/2/c/42c0b04f05639a9a4d7174902ffc7e1b45ac2cfe.png)

I’m not sure @hypersomniac can improve it that much, unfortunately shadow maps have issues in all real time engines such as Unity and Unreal.

[Next page](https://blenderartists.org/t/light-leak-at-edges-inside-room-and-irradiance-volume-issues/1135864.md?page=2)
