Fix: Eevee-next Looses Reflective World Light When Switching Shading Modes #109901

Merged
Jeroen Bakker merged 1 commits from Jeroen-Bakker/blender:fix/eevee-next-reflection-probe-updating into main 2023-07-10 13:40:54 +02:00

1 Commits

Author SHA1 Message Date
Jeroen Bakker 0d9033f71a Fix: Eevee-next Looses Reflective World Light When Switching Shading Modes
buildbot/vexp-code-patch-coordinator Build done. Details
When switching shading between material preview and solid modes, the
world reflective light could become uninitialized. The reason was that
the world was only updated when they actually changed. When switching
it might not be the case that the world changed and the world probe
wasn't uploaded to the texture.

This fix will reduce the locations where this information was stored
(removing the `do_world_update` attribute in `ReflectionProbeModule`).
It also doesn't reset the `do_render` flag during syncing, but post-
pone it to the actual drawing.
2023-07-10 12:07:57 +02:00