Commit: 143b0ab52ae9851f69923be048367070889925d4
Author: Clément Foucault
Date:   Sat Feb 3 23:45:08 2018 +0100
Branches: blender2.8
https://developer.blender.org/rB143b0ab52ae9851f69923be048367070889925d4

Eevee: Render: Reset winmat before jittering it again.

===================================================================

M       source/blender/draw/engines/eevee/eevee_render.c

===================================================================

diff --git a/source/blender/draw/engines/eevee/eevee_render.c 
b/source/blender/draw/engines/eevee/eevee_render.c
index 3dd9313942f..33c8e2602d4 100644
--- a/source/blender/draw/engines/eevee/eevee_render.c
+++ b/source/blender/draw/engines/eevee/eevee_render.c
@@ -424,6 +424,9 @@ void EEVEE_render_draw(EEVEE_Data *vedata, struct 
RenderEngine *engine, struct D
                double offset[3] = {0.0, 0.0, 0.0};
                double r[3];
 
+               /* Restore winmat before jittering again. */
+               copy_m4_m4(stl->effects->overide_winmat, g_data->winmat);
+
                BLI_halton_3D(primes, offset, stl->effects->taa_current_sample, 
r);
                EEVEE_update_noise(psl, fbl, r);
                EEVEE_temporal_sampling_matrices_calc(stl->effects, 
g_data->viewmat, g_data->persmat, r);

_______________________________________________
Bf-blender-cvs mailing list
Bf-blender-cvs@blender.org
https://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to