Eevee: Render alpha blended objects when rendering probes
This fix T64553 EEVEE: Emission material not lighting other objects when blend mode set to alpha blend
This commit is contained in:
@@ -767,6 +767,9 @@ static void eevee_lightbake_cache_create(EEVEE_Data *vedata, EEVEE_LightBake *lb
|
|||||||
EEVEE_lights_cache_finish(sldata, vedata);
|
EEVEE_lights_cache_finish(sldata, vedata);
|
||||||
EEVEE_lightprobes_cache_finish(sldata, vedata);
|
EEVEE_lightprobes_cache_finish(sldata, vedata);
|
||||||
|
|
||||||
|
/* Disable volumetrics when baking. */
|
||||||
|
stl->effects->enabled_effects &= ~EFFECT_VOLUMETRIC;
|
||||||
|
|
||||||
EEVEE_effects_draw_init(sldata, vedata);
|
EEVEE_effects_draw_init(sldata, vedata);
|
||||||
EEVEE_volumes_draw_init(sldata, vedata);
|
EEVEE_volumes_draw_init(sldata, vedata);
|
||||||
|
|
||||||
|
|||||||
@@ -911,6 +911,7 @@ static void lightbake_render_scene_face(int face, EEVEE_BakeRenderData *user_dat
|
|||||||
DRW_draw_pass(psl->sss_pass); /* Only output standard pass */
|
DRW_draw_pass(psl->sss_pass); /* Only output standard pass */
|
||||||
DRW_draw_pass(psl->sss_pass_cull);
|
DRW_draw_pass(psl->sss_pass_cull);
|
||||||
EEVEE_draw_default_passes(psl);
|
EEVEE_draw_default_passes(psl);
|
||||||
|
DRW_draw_pass(psl->transparent_pass);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Render the scene to the probe_rt texture. */
|
/* Render the scene to the probe_rt texture. */
|
||||||
|
|||||||
Reference in New Issue
Block a user