Page MenuHome

Fix T71154: EEVEE Soft Shadows Viewport Rendering
ClosedPublic

Authored by Jeroen Bakker (jbakker) on Tue, Jan 7, 9:22 AM.

Details

Summary

EEVEE Soft shadows were not rendered correctly during viewport
rendering. The reason for this is that during viewport rendering the
shadow buffers were only update once and not per sample. This resulted
that all the samples calculated the same shadow.

This fix moves the call to EEVEE_shadows_update from cache finished to
draw scene.

Diff Detail

Repository
rB Blender

Event Timeline

where i can download this fork to build it myself? i really need this stuff for my animation project.

where i can download this fork to build it myself? i really need this stuff for my animation project.

You have to compile it yourself. Just apply this patch to the codebase and you can use it.
We are looking into making this a download button in the patch but that needs additional infrastructure to be setup.

where i can download this fork to build it myself? i really need this stuff for my animation project.

You have to compile it yourself. Just apply this patch to the codebase and you can use it.
We are looking into making this a download button in the patch but that needs additional infrastructure to be setu

where i can download this fork to build it myself? i really need this stuff for my animation project.

You have to compile it yourself. Just apply this patch to the codebase and you can use it.
We are looking into making this a download button in the patch but that needs additional infrastructure to be setup.

Thank you very much, compiled (2.81 branch) and it works, it is not as stable as official build and crashes when switching between cameras by markers but viewport rendering works and that means that i'll be able to render my project in time!
I hope that this fix will be in 2.82 release - it will make blender a renderfarm killer... 20 frames per min...

Is there a way to have this fix in 2.82? Pleeease....
https://drive.google.com/file/d/1m-vOFkt-00y_iFumboZWjT3cJPWvoT7S/view?usp=sharing - i rendered it all for 1 night - 8 hours with this fix, and by F12 it was about 6 days before...

This is mostly correct but EEVEE_shadows_update needs to be before EEVEE_lightprobes_refresh_planar because they might be needed for reflections.

This is also an issue in eevee_render.c you can fix.

Code review

  • Moved the EEVEE_shadows_update before the EEVEE_lightprobes_refresh
This revision is now accepted and ready to land.Fri, Jan 17, 1:54 PM