Fix T73126 Eevee: light probe baking ignores indirect bounces from SSS
This commit is contained in:
parent
fd110291a5
commit
568dc2665e
Notes:
blender-bot
2023-02-14 03:52:45 +01:00
Referenced by issue #73126, Eevee: light probe baking (irradiance volume) ignores indirect bounces from SSS
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue