Fix: Eevee SSS not rendering as expected

Remove forcing separate albedo when rendering. It was creating confusion.
This commit is contained in:
Clément Foucault 2019-02-11 14:50:25 +01:00
parent d07cde8de8
commit 23c14a0bba
Notes: blender-bot 2023-02-14 05:36:11 +01:00
Referenced by issue #61377, Eevee SSS not rendering as expected
1 changed files with 0 additions and 5 deletions

View File

@ -76,11 +76,6 @@ int EEVEE_subsurface_init(EEVEE_ViewLayerData *sldata, EEVEE_Data *vedata)
effects->sss_separate_albedo = (scene_eval->eevee.flag & SCE_EEVEE_SSS_SEPARATE_ALBEDO) != 0;
common_data->sss_jitter_threshold = scene_eval->eevee.sss_jitter_threshold;
/* Force separate albedo for final render */
if (DRW_state_is_image_render()) {
effects->sss_separate_albedo = true;
}
/* Shaders */
if (!e_data.sss_sh[0]) {
eevee_create_shader_subsurface();