Author Topic: Strange shadow + GI bug  (Read 866 times)

2023-05-06, 10:28:42

barnabash

  • Active Users
  • **
  • Posts: 6
    • View Profile
Hi there! I am having a strange bug and I would really appreciate some help as I tried many days to solve it and failed.

I have an image sequence of an interior with HDRI exterior lighting, some IES lights, some rope lights, some mesh lights etc. Thes scene is fairly complex but nothing too crazy or something I haven't done in vray without any issues before.

I want 7 shots, and the way I do it is that I animate the camera and then render the animation sequence and this seems to be the root of the problem.
From the 4th frame onward, the shadows and GI are messed up. If I render the exact same frame as a single frame, everything looks good, the image is perfect, but if I render the animation sequence, after a couple of frames the GI and shadows become messed up.

Any idea how to resolve this other than the obvious "ditch the animation sequance" solution?

I attached a small example of the bug. 1st image is wireframe, second is when I render as a single image, the third is the bugged when I render as part of an animation sequence.

2023-05-06, 11:57:00
Reply #1

romullus

  • Global Moderator
  • Active Users
  • ****
  • Posts: 8830
  • Let's move this topic, shall we?
    • View Profile
    • My Models
I think there was a similar case recently and the solution to the problem was to disable adaptive light solver (or maybe it was adaptive environment sampler, or GI solution adaptivity - can't recall exact setting). Either way, you may want to give it a try and see if that helps.
I'm not Corona Team member. Everything i say, is my personal opinion only.
My Models | My Videos | My Pictures

2023-05-07, 16:32:54
Reply #2

barnabash

  • Active Users
  • **
  • Posts: 6
    • View Profile
I think the problem is solved, thanks a lot romullus! The solution seems to be unchecking "Enable adaptivity" under Adaptivity and Denoising.

2023-05-07, 19:17:58
Reply #3

romullus

  • Global Moderator
  • Active Users
  • ****
  • Posts: 8830
  • Let's move this topic, shall we?
    • View Profile
    • My Models
I'm glad to hear that the workaround has worked. I think Corona team may want that scene for testing purpose, since they definitely will want to fix the issue properly.
I'm not Corona Team member. Everything i say, is my personal opinion only.
My Models | My Videos | My Pictures

2023-05-08, 09:55:31
Reply #4

barnabash

  • Active Users
  • **
  • Posts: 6
    • View Profile
Looks like I spoke too soon. On the hiogher resolution render overnight the same problem came back :(

I'll try disable other adpativity settings.

2023-05-08, 10:28:24
Reply #5

romullus

  • Global Moderator
  • Active Users
  • ****
  • Posts: 8830
  • Let's move this topic, shall we?
    • View Profile
    • My Models
Moving the topic to bug reporting board, so that someone from the support team could take over and investigate the issue.
I'm not Corona Team member. Everything i say, is my personal opinion only.
My Models | My Videos | My Pictures

2023-05-08, 11:46:06
Reply #6

pokoy

  • Active Users
  • **
  • Posts: 1861
    • View Profile
Some thoughts - similar artifacts can be caused by multiple things:

- If you're using any kind of GI caching, make sure it's recalculated every frame
- Could be the adaptive enviro sampler as said above
- Do the affected materials use a Rayswitch mtl with different materials for GI and Reflection?
- Are you using a HDR bitmap in dome mode? If so, is your geometry below 0 in z-axis? Similar artifacts can occur if this is the case, in that case you could try to translate the map to negative z-axis values encompassing any geometry (within the CBitmap settings)

But it's sure strange that you're seeing this only when rendering the animation and not with single renders.

2023-05-08, 13:54:30
Reply #7

barnabash

  • Active Users
  • **
  • Posts: 6
    • View Profile
Okay the problem seems to be solved this time for real as it worked on the high res final render.
Under the "Lights" tab I set
Enviro sampler: precise
Solver: scalable

2023-05-08, 14:06:38
Reply #8

barnabash

  • Active Users
  • **
  • Posts: 6
    • View Profile
Some thoughts - similar artifacts can be caused by multiple things:

- If you're using any kind of GI caching, make sure it's recalculated every frame
- Could be the adaptive enviro sampler as said above
- Do the affected materials use a Rayswitch mtl with different materials for GI and Reflection?
- Are you using a HDR bitmap in dome mode? If so, is your geometry below 0 in z-axis? Similar artifacts can occur if this is the case, in that case you could try to translate the map to negative z-axis values encompassing any geometry (within the CBitmap settings)

But it's sure strange that you're seeing this only when rendering the animation and not with single renders.

Well to be honest I'm not quite sure what triggers the artefacts. On my single frame previews everything looked fine but the resolution was lower than the final render. I waited 30+ passes  when the artefact usually apprears but it didn't so I thought it must be the animation sequence because on my test it triggered the artefact on my preview. Bu then I didn't test a high res single frame version.

2023-05-08, 16:54:24
Reply #9

maru

  • Corona Team
  • Active Users
  • ****
  • Posts: 12750
  • Marcin
    • View Profile
This looks like the "black highlights" issue caused by materials with non-physical properties such as no shadowcasting or light mtl with no emission: https://support.chaos.com/hc/en-us/articles/4528311915025-Known-bugs-and-limitations
Marcin Miodek | chaos-corona.com
3D Support Team Lead - Corona | contact us

2023-05-12, 10:54:04
Reply #10

barnabash

  • Active Users
  • **
  • Posts: 6
    • View Profile
Any workaround possible when this issue is cause by Corona Sun like in my case? Disabling adaptivity works but it also increases rendertime.