# Flickering shadows...

**URL:** <https://forums.chaos.com/t/flickering-shadows/54060>\
**Category:** Issues\
**Created:** [June 4, 2015, 9:06pm UTC](https://forums.chaos.com/t/flickering-shadows/54060 "2015-06-04T21:06:26Z")\
**Posts on this page:** 16\
**Page:** 1

<div class="post-metadata">

**Author:** ![evanerichards](https://avatars.discourse-cdn.com/v4/letter/e/f6c823/32.png) [@evanerichards](https://forums.chaos.com/u/evanerichards)\
**Post date:** [June 4, 2015, 9:06pm UTC](https://forums.chaos.com/t/flickering-shadows/54060/1 "2015-06-04T21:06:26Z")

</div>

So I have a render. The beauty pass looks great (I put the shadows on the background in a separate render layer). When I look at the matte shadow layer rendered from the render layer that contains only shadows it is very flickery. It’s not noisy as if the subdivisions hadn’t been turned up enough or as if the threshold was too high, but it’s flickery as if it’s a bad time-lapse where each frame is being hit with a slightly different intensity light. I only have two lights in the scene. A dome light with with flat white color (no HDR or image maps) and a rectangular directional light. I’m using GI but using a double brute force method.

The only thing I can think is that the rectangular light is quite large. Could the size of the light be causing the shadows to flicker for some reason?

Thanks!

---

<div class="post-metadata">

**Author:** ![evanerichards](https://avatars.discourse-cdn.com/v4/letter/e/f6c823/32.png) [@evanerichards](https://forums.chaos.com/u/evanerichards)\
**Post date:** [June 5, 2015, 2:23pm UTC](https://forums.chaos.com/t/flickering-shadows/54060/2 "2015-06-05T14:23:48Z")

</div>

I’ve narrowed it down to the dome light.  
Strange thing is, even with 128 subdivs with all the default settings and a straight white color (no images mapped to it) it flickers like crazy.

---

<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:** [June 5, 2015, 2:48pm UTC](https://forums.chaos.com/t/flickering-shadows/54060/3 "2015-06-05T14:48:17Z")

</div>

Can you show me?

Best regards,  
Vlado

---

<div class="post-metadata">

**Author:** ![evanerichards](https://avatars.discourse-cdn.com/v4/letter/e/f6c823/32.png) [@evanerichards](https://forums.chaos.com/u/evanerichards)\
**Post date:** [June 5, 2015, 2:55pm UTC](https://forums.chaos.com/t/flickering-shadows/54060/4 "2015-06-05T14:55:16Z")

</div>

Yes, sorry, I’m putting together a video and a scene file but its taking longer than I expected.

---

<div class="post-metadata">

**Author:** ![evanerichards](https://avatars.discourse-cdn.com/v4/letter/e/f6c823/32.png) [@evanerichards](https://forums.chaos.com/u/evanerichards)\
**Post date:** [June 5, 2015, 3:07pm UTC](https://forums.chaos.com/t/flickering-shadows/54060/5 "2015-06-05T15:07:36Z")

</div>

Here’s is a 10 frame video. You can see it most on the cylinder on the wall.  
I’ll be posting a scene too, but I’m trying to strip all the extra geometry etc. out of it so it will be small enough to post.

I’d also point out that is SEEMS to only be happening in the matteshadow pass but not in the beauty pass.

Thanks  
[FlickeringShadow.zip](https://forums.chaos.com/uploads/short-url/lRv0kRKkCh1uHwVPKjCYr0daAq5.zip) (2.24 MB)

---

<div class="post-metadata">

**Author:** ![evanerichards](https://avatars.discourse-cdn.com/v4/letter/e/f6c823/32.png) [@evanerichards](https://forums.chaos.com/u/evanerichards)\
**Post date:** [June 5, 2015, 4:09pm UTC](https://forums.chaos.com/t/flickering-shadows/54060/6 "2015-06-05T16:09:53Z")

</div>

Here’s the scene file.  
It happens on the “Shadow Only” render layer and as far as I can tell may only happen to the “MatteShadow” render layer.  
[flickertest\_v3.zip](https://forums.chaos.com/uploads/short-url/8KawUOfLrqwpzxR5Aq4muAiyQ2F.zip) (51.2 KB)

---

<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:** [June 5, 2015, 4:36pm UTC](https://forums.chaos.com/t/flickering-shadows/54060/7 "2015-06-05T16:36:42Z")

</div>

I can reproduce this. Looking into it now.

Best regards,  
Vlado

---

<div class="post-metadata">

**Author:** ![evanerichards](https://avatars.discourse-cdn.com/v4/letter/e/f6c823/32.png) [@evanerichards](https://forums.chaos.com/u/evanerichards)\
**Post date:** [June 24, 2015, 2:18pm UTC](https://forums.chaos.com/t/flickering-shadows/54060/8 "2015-06-24T14:18:14Z")

</div>

Any word on what might be the cause of this flickering?

---

<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:** [June 25, 2015, 5:48am UTC](https://forums.chaos.com/t/flickering-shadows/54060/9 "2015-06-25T05:48:48Z")

</div>

The actual reason is a bug… I hope to have a fix for next week.

Best regards,  
Vlado

---

<div class="post-metadata">

**Author:** ![bennyboy](https://dub1.discourse-cdn.com/chaosprd/user_avatar/forums.chaos.com/bennyboy/32/62970_2.png) [@bennyboy](https://forums.chaos.com/u/bennyboy)\
**Post date:** [August 7, 2015, 4:59am UTC](https://forums.chaos.com/t/flickering-shadows/54060/10 "2015-08-07T04:59:56Z")

</div>

did this ever get fixed? I’m having the same issue.

---

<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:** [August 7, 2015, 6:01pm UTC](https://forums.chaos.com/t/flickering-shadows/54060/11 "2015-08-07T18:01:32Z")

</div>

For the moment, you can turn off the animated noise pattern in the DMC sampler and it should stabilize. The proper solution turned out quite a bit more complicated.

Best regards,  
Vlado

---

<div class="post-metadata">

**Author:** ![simonreeves](https://dub1.discourse-cdn.com/chaosprd/user_avatar/forums.chaos.com/simonreeves/32/58450_2.png) [@simonreeves](https://forums.chaos.com/u/simonreeves)\
**Post date:** [October 20, 2015, 9:22am UTC](https://forums.chaos.com/t/flickering-shadows/54060/12 "2015-10-20T09:22:49Z")

</div>

I’ve just ran into this issue (glad I found this post)

Any updates per chance?

---

<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:** [October 20, 2015, 9:56pm UTC](https://forums.chaos.com/t/flickering-shadows/54060/13 "2015-10-20T21:56:11Z")

</div>

No, it’s not fixed yet; the issue in the original scene is that the DMC samples get stratified in a very specific way that causes the sub-pixel samples for matte/shadow element to have slightly different values between the frames. I have to look into it in more detail.

In any case you can reconstruct the matte/shadow element from the “lighting” and “shadow” elements: matteShadow=white-(lighting/(lighting+shadow)) - since this would be applied on the final pixel values, it should be more stable.

It’s one of the cases where QMC sampling would have been useful 🙂

Best regards,  
Vlado

---

<div class="post-metadata">

**Author:** ![simonreeves](https://dub1.discourse-cdn.com/chaosprd/user_avatar/forums.chaos.com/simonreeves/32/58450_2.png) [@simonreeves](https://forums.chaos.com/u/simonreeves)\
**Post date:** [October 21, 2015, 10:20am UTC](https://forums.chaos.com/t/flickering-shadows/54060/14 "2015-10-21T10:20:23Z")

</div>

I will looking to that other method, might be good to have those passes for control too.

---

<div class="post-metadata">

**Author:** ![vance3d](https://avatars.discourse-cdn.com/v4/letter/v/35a633/32.png) [@vance3d](https://forums.chaos.com/u/vance3d)\
**Post date:** [February 13, 2020, 4:32pm UTC](https://forums.chaos.com/t/flickering-shadows/54060/15 "2020-02-13T16:32:11Z")

</div>

I just ran into this exact issue in vray next 1.2 and the lock animated noise checkbox in dmc settings is the only thing that fixed it

Is this still a known issue?

---

<div class="post-metadata">

**Author:** ![mschreck](https://avatars.discourse-cdn.com/v4/letter/m/779978/32.png) [@mschreck](https://forums.chaos.com/u/mschreck)\
**Post date:** [March 1, 2022, 8:38am UTC](https://forums.chaos.com/t/flickering-shadows/54060/16 "2022-03-01T08:38:36Z")

</div>

I just ran into the same problem (vray next 5 maya 2022.3). flickering hdri intensity in shadow pass. Turning off “Animated noise pattern” fixed it!
