# Light leaks and errors

**URL:** <https://forums.chaos.com/t/light-leaks-and-errors/22726>\
**Category:** Issues\
**Created:** [December 29, 2009, 5:37pm UTC](https://forums.chaos.com/t/light-leaks-and-errors/22726 "2009-12-29T17:37:44Z")\
**Posts on this page:** 17\
**Page:** 1

<div class="post-metadata">

**Author:** ![stevesideas](https://dub1.discourse-cdn.com/chaosprd/user_avatar/forums.chaos.com/stevesideas/32/29103_2.png) [@stevesideas](https://forums.chaos.com/u/stevesideas)\
**Post date:** [December 29, 2009, 5:37pm UTC](https://forums.chaos.com/t/light-leaks-and-errors/22726/1 "2009-12-29T17:37:44Z")

</div>

Im having problems with a scene im rendering out at the moment. As you can see, my settings are all set fairly high. It seems only to be happening in the higher detail areas. Seems that the gi is getting a bit confused. I have tried setting the vrayproperties id’s to different numbers and all the other things that can cause light leaks and problems but with no luck.

Any ideas ?

Happy Christmas and New Year by the way 🙂

 ![errors.jpg](https://europe1.discourse-cdn.com/chaosprd/original/3X/c/a/ca0fc8cb94a70e29d00ca1c55598f6decc3e8122.jpeg)  
 ![settings.jpg](https://europe1.discourse-cdn.com/chaosprd/original/3X/0/4/043d04e9e094b4a209ad6c7f46ee889d5d46f3c1.jpeg)

---

<div class="post-metadata">

**Author:** ![voltron7](https://dub1.discourse-cdn.com/chaosprd/user_avatar/forums.chaos.com/voltron7/32/39008_2.png) [@voltron7](https://forums.chaos.com/u/voltron7)\
**Post date:** [December 29, 2009, 6:24pm UTC](https://forums.chaos.com/t/light-leaks-and-errors/22726/2 "2009-12-29T18:24:11Z")

</div>

Do you get the errors if you disable secondary bounces?

---

<div class="post-metadata">

**Author:** ![stevesideas](https://dub1.discourse-cdn.com/chaosprd/user_avatar/forums.chaos.com/stevesideas/32/29103_2.png) [@stevesideas](https://forums.chaos.com/u/stevesideas)\
**Post date:** [December 29, 2009, 6:52pm UTC](https://forums.chaos.com/t/light-leaks-and-errors/22726/3 "2009-12-29T18:52:50Z")

</div>

No. Dont seem to be there now with secondary bounce off. The detailed areas are still shaded strangley…kind of splotchy. Maybe I should increase the interp samples ?!

---

<div class="post-metadata">

**Author:** ![voltron7](https://dub1.discourse-cdn.com/chaosprd/user_avatar/forums.chaos.com/voltron7/32/39008_2.png) [@voltron7](https://forums.chaos.com/u/voltron7)\
**Post date:** [December 29, 2009, 7:05pm UTC](https://forums.chaos.com/t/light-leaks-and-errors/22726/4 "2009-12-29T19:05:05Z")

</div>

Yes, upping the samples might help, but it sounds like maybe something needs attention in the light cache settings? Hopefully some more knowledgeable v-ray users will throw in here…

---

<div class="post-metadata">

**Author:** ![stevesideas](https://dub1.discourse-cdn.com/chaosprd/user_avatar/forums.chaos.com/stevesideas/32/29103_2.png) [@stevesideas](https://forums.chaos.com/u/stevesideas)\
**Post date:** [December 29, 2009, 8:00pm UTC](https://forums.chaos.com/t/light-leaks-and-errors/22726/5 "2009-12-29T20:00:44Z")

</div>

Thats my thought, but there isnt that much to change on the lightcache side of things that makes that much difference. Sample size is already lower than I usually use for most situations and lightcache subs look about right for the size of image 1280x720. Not sure what else to try really..

---

<div class="post-metadata">

**Author:** ![vlado](https://avatars.discourse-cdn.com/v4/letter/v/779978/32.png) [@vlado](https://forums.chaos.com/u/vlado)\
**Post date:** [December 29, 2009, 9:18pm UTC](https://forums.chaos.com/t/light-leaks-and-errors/22726/6 "2009-12-29T21:18:29Z")

</div>

You can try to change the light cache scale to “World” (and adjust the sample size accordingly); the other thing to try is turning off the “Store direct light” option.

Best regards,  
Vlado

---

<div class="post-metadata">

**Author:** ![stevesideas](https://dub1.discourse-cdn.com/chaosprd/user_avatar/forums.chaos.com/stevesideas/32/29103_2.png) [@stevesideas](https://forums.chaos.com/u/stevesideas)\
**Post date:** [December 29, 2009, 9:21pm UTC](https://forums.chaos.com/t/light-leaks-and-errors/22726/7 "2009-12-29T21:21:45Z")

</div>

Thanks. I’ll try those 2 things. If I was wanting to do an animation of this scene where just the camera moves, “world” wouldnt be a good option would it ?

---

<div class="post-metadata">

**Author:** ![vlado](https://avatars.discourse-cdn.com/v4/letter/v/779978/32.png) [@vlado](https://forums.chaos.com/u/vlado)\
**Post date:** [December 29, 2009, 9:26pm UTC](https://forums.chaos.com/t/light-leaks-and-errors/22726/8 "2009-12-29T21:26:15Z")

</div>

Actually in that case, the “World” scale would be the right one to use 🙂 (like in the tutorial here: [Chaos: Industry-leading design and visualization software](http://www.spot3d.com/vray/help/150SP1/tutorials%5C_imap2.htm))

Best regards,  
Vlado

---

<div class="post-metadata">

**Author:** ![stevesideas](https://dub1.discourse-cdn.com/chaosprd/user_avatar/forums.chaos.com/stevesideas/32/29103_2.png) [@stevesideas](https://forums.chaos.com/u/stevesideas)\
**Post date:** [December 29, 2009, 9:28pm UTC](https://forums.chaos.com/t/light-leaks-and-errors/22726/9 "2009-12-29T21:28:38Z")

</div>

Oh, how little it seems I know…I always use “screen” for my animations! I’ll try the world scale. Is there a good scale setting to start off with ? I am working in millimeters.

---

<div class="post-metadata">

**Author:** ![vlado](https://avatars.discourse-cdn.com/v4/letter/v/779978/32.png) [@vlado](https://forums.chaos.com/u/vlado)\
**Post date:** [December 29, 2009, 9:31pm UTC](https://forums.chaos.com/t/light-leaks-and-errors/22726/10 "2009-12-29T21:31:37Z")

</div>

About 10-20 cm should probably be ok.

Best regards,  
Vlado

---

<div class="post-metadata">

**Author:** ![voltron7](https://dub1.discourse-cdn.com/chaosprd/user_avatar/forums.chaos.com/voltron7/32/39008_2.png) [@voltron7](https://forums.chaos.com/u/voltron7)\
**Post date:** [December 29, 2009, 10:36pm UTC](https://forums.chaos.com/t/light-leaks-and-errors/22726/11 "2009-12-29T22:36:29Z")

</div>

light cache

I didn’t catch it in your settings at first glance, but I have been having better results turning off “store direct light” option Vlado just mentioned.  
_(at least for still images)_

---

<div class="post-metadata">

**Author:** ![3DMK](https://dub1.discourse-cdn.com/chaosprd/user_avatar/forums.chaos.com/3dmk/32/388_2.png) [@3DMK](https://forums.chaos.com/u/3DMK)\
**Post date:** [January 5, 2010, 7:31pm UTC](https://forums.chaos.com/t/light-leaks-and-errors/22726/12 "2010-01-05T19:31:56Z")

</div>

Try turning on the ‘Detail Enhancement’ option on the irradiance map. This option was developed to overcome just the sort of problems you are having in the detailed areas.

It works great for very detailed & small/fine geometry

Cheers:smile:

---

<div class="post-metadata">

**Author:** ![stevesideas](https://dub1.discourse-cdn.com/chaosprd/user_avatar/forums.chaos.com/stevesideas/32/29103_2.png) [@stevesideas](https://forums.chaos.com/u/stevesideas)\
**Post date:** [January 5, 2010, 7:37pm UTC](https://forums.chaos.com/t/light-leaks-and-errors/22726/13 "2010-01-05T19:37:16Z")

</div>

I tend to steer clear of detail enhancement as it tends to push render times sky high. Im wondering..would it be possible to lower the normal irr settings to sort the larger areas of lighting and then turn on detail enhancement for the smaller areas without increasing render times too much ?

---

<div class="post-metadata">

**Author:** ![Morbid\_Angel](https://dub1.discourse-cdn.com/chaosprd/user_avatar/forums.chaos.com/morbid_angel/32/21272_2.png) [@Morbid\_Angel](https://forums.chaos.com/u/Morbid_Angel)\
**Post date:** [January 5, 2010, 8:49pm UTC](https://forums.chaos.com/t/light-leaks-and-errors/22726/14 "2010-01-05T20:49:34Z")

</div>

if the radius on your detail enhancement is not very large it will work quite well.

---

<div class="post-metadata">

**Author:** ![3DMK](https://dub1.discourse-cdn.com/chaosprd/user_avatar/forums.chaos.com/3dmk/32/388_2.png) [@3DMK](https://forums.chaos.com/u/3DMK)\
**Post date:** [January 5, 2010, 9:34pm UTC](https://forums.chaos.com/t/light-leaks-and-errors/22726/15 "2010-01-05T21:34:35Z")

</div>

> [@PIXELBOX\_SRO](#):
>
> Im wondering..would it be possible to lower the normal irr settings to sort the larger areas of lighting and then turn on detail enhancement for the smaller areas without increasing render times too much ?

That’s exactly how it’s supposed to be used!  
I usually set up the detail enhancement to world scale & use values between 20mm up to 100mm depending on the scene.

Just remember this method uses brute force DMC & the subdivision multiplier for this is a percentage of the irradiance maps hemispherical subdivisions.  
If your irradiance map HSph are high then you may want to decrease the value of the detail enhancement multiplier to alleviate long render times.

Cheers;)

---

<div class="post-metadata">

**Author:** ![stevesideas](https://dub1.discourse-cdn.com/chaosprd/user_avatar/forums.chaos.com/stevesideas/32/29103_2.png) [@stevesideas](https://forums.chaos.com/u/stevesideas)\
**Post date:** [January 7, 2010, 1:02am UTC](https://forums.chaos.com/t/light-leaks-and-errors/22726/16 "2010-01-07T01:02:49Z")

</div>

Ok cool. I’ll have to try these options out. Thanks

---

<div class="post-metadata">

**Author:** ![Subburb](https://dub1.discourse-cdn.com/chaosprd/user_avatar/forums.chaos.com/subburb/32/70505_2.png) [@Subburb](https://forums.chaos.com/u/Subburb)\
**Post date:** [January 12, 2010, 9:36am UTC](https://forums.chaos.com/t/light-leaks-and-errors/22726/17 "2010-01-12T09:36:20Z")

</div>

+1 for the DE option… As 3DMK said, it’s tied to HSPH value.  
you can estimate the desired sampling value of this tool by this formula : desired DE subdivs = DE mult \* HSPH \* Global multiplier

in your case, if you need 16 subdivs for DE, then DE mult = 16 / (70 \* 1) = 0.23. Remaining grain will mostly depends of the DE radius.
