Commit: 07e1212e341a2259cc3bb8d419c6051302db6330
Author: Clément Foucault
Date:   Sat Feb 3 02:33:35 2018 +0100
Branches: blender2.8
https://developer.blender.org/rB07e1212e341a2259cc3bb8d419c6051302db6330

Eevee: Render: Fix black reflections in 1st sample.

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

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

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

diff --git a/source/blender/draw/engines/eevee/eevee_lightprobes.c 
b/source/blender/draw/engines/eevee/eevee_lightprobes.c
index ab0b2c7fd29..6fd20233784 100644
--- a/source/blender/draw/engines/eevee/eevee_lightprobes.c
+++ b/source/blender/draw/engines/eevee/eevee_lightprobes.c
@@ -1428,6 +1428,8 @@ void EEVEE_lightprobes_refresh_planar(EEVEE_ViewLayerData 
*sldata, EEVEE_Data *v
        EEVEE_LightProbesInfo *pinfo = sldata->probes;
 
        if (pinfo->num_planar == 0) {
+               /* Disable SSR if we cannot read previous frame */
+               common_data->ssr_toggle = 
vedata->stl->g_data->valid_double_buffer;
                return;
        }

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

Reply via email to