Fix T79672 EEVEE: Motion blur steps value broken after recent change
Was just an issue of `taa_render_sample` being reset to 1 when it shouldn't.
This commit is contained in:
@@ -147,6 +147,7 @@ void EEVEE_effects_init(EEVEE_ViewLayerData *sldata,
|
||||
|
||||
if (!stl->effects) {
|
||||
stl->effects = MEM_callocN(sizeof(EEVEE_EffectsInfo), "EEVEE_EffectsInfo");
|
||||
stl->effects->taa_render_sample = 1;
|
||||
}
|
||||
|
||||
effects = stl->effects;
|
||||
|
||||
@@ -212,7 +212,9 @@ int EEVEE_temporal_sampling_init(EEVEE_ViewLayerData *UNUSED(sldata), EEVEE_Data
|
||||
* Reset for each "redraw". When rendering using ogl render,
|
||||
* we accumulate the redraw inside the drawing loop in eevee_draw_scene().
|
||||
**/
|
||||
effects->taa_render_sample = 1;
|
||||
if (DRW_state_is_opengl_render()) {
|
||||
effects->taa_render_sample = 1;
|
||||
}
|
||||
effects->bypass_drawing = false;
|
||||
|
||||
EEVEE_temporal_sampling_create_view(vedata);
|
||||
|
||||
Reference in New Issue
Block a user