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

This commit is contained in:
Clément Foucault 2018-02-03 02:33:35 +01:00
parent eeb621566a
commit 07e1212e34
1 changed files with 2 additions and 0 deletions

View File

@ -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;
}