Commit: e70c563aa375a18dd272b4d6cad8ae1ef08fbabf
Author: Clément Foucault
Date: Tue Nov 14 21:13:38 2017 +0100
Branches: blender2.8
https://developer.blender.org/rBe70c563aa375a18dd272b4d6cad8ae1ef08fbabf
Eevee: Add SSS objects to probe rendering.
This does NOT do the SSS diffusion when rendering probe but at least you can
see your object without SSS in reflections / bounce light.
===================================================================
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 6274aa8a6e8..aa5624646f3 100644
--- a/source/blender/draw/engines/eevee/eevee_lightprobes.c
+++ b/source/blender/draw/engines/eevee/eevee_lightprobes.c
@@ -1074,6 +1074,7 @@ static void render_scene_to_probe(
/* Shading pass */
EEVEE_draw_default_passes(psl);
DRW_draw_pass(psl->material_pass);
+ DRW_draw_pass(psl->sss_pass); /* Only output standard pass */
DRW_framebuffer_texture_detach(sldata->probe_rt);
}
@@ -1163,6 +1164,7 @@ static void render_scene_to_planar(
/* Shading pass */
EEVEE_draw_default_passes(psl);
DRW_draw_pass(psl->material_pass);
+ DRW_draw_pass(psl->sss_pass); /* Only output standard pass */
DRW_state_invert_facing();
DRW_state_clip_planes_reset();
_______________________________________________
Bf-blender-cvs mailing list
[email protected]
https://lists.blender.org/mailman/listinfo/bf-blender-cvs