mirror of
https://github.com/blender/blender
synced 2026-09-29 04:37:17 +03:00
Fix T88204 EEVEE: Animated world light doesnt work during render
This was a bug uncovered by rB50782df42586. Previously, the lightcache was always discarded between redraw and forced to be updated again. Now we check for update inside the render loop making it compatible with accumulation motion blur and long exposure.
This commit is contained in:
parent
5d97e293c3
commit
610c0ecc3b
1 changed files with 5 additions and 0 deletions
|
|
@ -556,6 +556,11 @@ static void eevee_render_to_image(void *vedata,
|
|||
EEVEE_renderpasses_output_init(
|
||||
sldata, vedata, g_data->render_sample_count_per_timestep * time_steps_tot);
|
||||
|
||||
if (scene->world) {
|
||||
/* Update world in case of animated world material. */
|
||||
eevee_id_world_update(vedata, scene->world);
|
||||
}
|
||||
|
||||
EEVEE_temporal_sampling_create_view(vedata);
|
||||
EEVEE_render_draw(vedata, engine, render_layer, rect);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue