[Bf-blender-cvs] [568dc2665e8] blender-v2.91-release: Fix T73126 Eevee: light probe baking ignores indirect bounces from SSS

Clément Foucault noreply at git.blender.org
Wed Nov 4 19:36:52 CET 2020


Commit: 568dc2665e81902236a619daf385abcf928fb4fc
Author: Clément Foucault
Date:   Wed Nov 4 19:34:19 2020 +0100
Branches: blender-v2.91-release
https://developer.blender.org/rB568dc2665e81902236a619daf385abcf928fb4fc

Fix T73126 Eevee: light probe baking ignores indirect bounces from SSS

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

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

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

diff --git a/source/blender/draw/engines/eevee/eevee_lightcache.c b/source/blender/draw/engines/eevee/eevee_lightcache.c
index 4904f34a00b..b515ea9c625 100644
--- a/source/blender/draw/engines/eevee/eevee_lightcache.c
+++ b/source/blender/draw/engines/eevee/eevee_lightcache.c
@@ -1058,6 +1058,7 @@ static void eevee_lightbake_render_grid_sample(void *ved, void *user_data)
 
   /* Disable specular lighting when rendering probes to avoid feedback loops (looks bad). */
   common_data->spec_toggle = false;
+  common_data->sss_toggle = false;
   common_data->prb_num_planar = 0;
   common_data->prb_num_render_cube = 0;
   common_data->ray_type = EEVEE_RAY_DIFFUSE;
@@ -1127,6 +1128,7 @@ static void eevee_lightbake_render_probe_sample(void *ved, void *user_data)
 
   /* Disable specular lighting when rendering probes to avoid feedback loops (looks bad). */
   common_data->spec_toggle = false;
+  common_data->sss_toggle = false;
   common_data->prb_num_planar = 0;
   common_data->prb_num_render_cube = 0;
   common_data->ray_type = EEVEE_RAY_GLOSSY;



More information about the Bf-blender-cvs mailing list