[Bf-blender-cvs] [9b3dfbe6513] master: Fix T77672 EEVEE: Reflections with reflection plane broken (regression)

Clément Foucault noreply at git.blender.org
Wed Jun 24 13:50:30 CEST 2020


Commit: 9b3dfbe6513106c71faa50d09fbe27a071b3194f
Author: Clément Foucault
Date:   Wed Jun 24 13:50:20 2020 +0200
Branches: master
https://developer.blender.org/rB9b3dfbe6513106c71faa50d09fbe27a071b3194f

Fix T77672 EEVEE: Reflections with reflection plane broken (regression)

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

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

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

diff --git a/source/blender/draw/engines/eevee/eevee_lightprobes.c b/source/blender/draw/engines/eevee/eevee_lightprobes.c
index 83b2a9bb6d4..71c8294d123 100644
--- a/source/blender/draw/engines/eevee/eevee_lightprobes.c
+++ b/source/blender/draw/engines/eevee/eevee_lightprobes.c
@@ -957,8 +957,8 @@ static void lightbake_render_scene_reflected(int layer, EEVEE_BakeRenderData *us
   /* Slight modification: we handle refraction as normal
    * shading and don't do SSRefraction. */
 
-  DRW_draw_pass(psl->depth_ps);
-  DRW_draw_pass(psl->depth_refract_ps);
+  DRW_draw_pass(psl->depth_clip_ps);
+  DRW_draw_pass(psl->depth_refract_clip_ps);
 
   DRW_draw_pass(psl->probe_background);
   EEVEE_create_minmax_buffer(vedata, tmp_planar_depth, layer);



More information about the Bf-blender-cvs mailing list