Blender Git Commit Log
Git Commits -> Revision f8b1430
Revision f8b1430 by Clément Foucault (master) November 13, 2017, 23:49 (GMT) |
Eevee: Initial Separable Subsurface Scattering implementation. How to use: - Enable subsurface scattering in the render options. - Add Subsurface BSDF to your shader. - Check "Screen Space Subsurface Scattering" in the material panel options. This initial implementation has a few limitations: - only supports gaussian SSS. - Does not support principled shader. - The radius parameters is baked down to a number of samples and then put into an UBO. This means the radius input socket cannot be used. You need to tweak the default vector directly. - The "texture blur" is considered as always set to 1 |
Commit Details:
Full Hash: f8b14305668ff7b1f3ba6f886b9e1881c764b201
Parent Commit: 89e9f6e
Lines Changed: +684, -45
2 Added Paths:
/source/blender/draw/engines/eevee/eevee_subsurface.c (+235, -0) (View)
/source/blender/draw/engines/eevee/shaders/effect_subsurface_frag.glsl (+94, -0) (View)
/source/blender/draw/engines/eevee/shaders/effect_subsurface_frag.glsl (+94, -0) (View)
17 Modified Paths:
/release/scripts/startup/bl_ui/properties_material.py (+2, -0) (Diff)
/release/scripts/startup/bl_ui/properties_render.py (+24, -0) (Diff)
/release/scripts/startup/bl_ui/properties_render_layer.py (+29, -0) (Diff)
/release/scripts/startup/nodeitems_builtins.py (+1, -1) (Diff)
/source/blender/draw/CMakeLists.txt (+2, -0) (Diff)
/source/blender/draw/engines/eevee/eevee_effects.c (+25, -23) (Diff)
/source/blender/draw/engines/eevee/eevee_engine.c (+7, -1) (Diff)
/source/blender/draw/engines/eevee/eevee_materials.c (+30, -5) (Diff)
/source/blender/draw/engines/eevee/eevee_private.h (+20, -1) (Diff)
/source/blender/draw/engines/eevee/shaders/bsdf_common_lib.glsl (+11, -1) (Diff)
/source/blender/gpu/GPU_material.h (+3, -0) (Diff)
/source/blender/gpu/intern/gpu_material.c (+168, -1) (Diff)
/source/blender/gpu/shaders/gpu_shader_material.glsl (+11, -12) (Diff)
/source/blender/makesdna/DNA_material_types.h (+1, -0) (Diff)
/source/blender/makesrna/intern/rna_layer.c (+9, -0) (Diff)
/source/blender/makesrna/intern/rna_material.c (+5, -0) (Diff)
/source/blender/nodes/shader/nodes/node_shader_subsurface_scattering.c (+7, -0) (Diff)
/release/scripts/startup/bl_ui/properties_render.py (+24, -0) (Diff)
/release/scripts/startup/bl_ui/properties_render_layer.py (+29, -0) (Diff)
/release/scripts/startup/nodeitems_builtins.py (+1, -1) (Diff)
/source/blender/draw/CMakeLists.txt (+2, -0) (Diff)
/source/blender/draw/engines/eevee/eevee_effects.c (+25, -23) (Diff)
/source/blender/draw/engines/eevee/eevee_engine.c (+7, -1) (Diff)
/source/blender/draw/engines/eevee/eevee_materials.c (+30, -5) (Diff)
/source/blender/draw/engines/eevee/eevee_private.h (+20, -1) (Diff)
/source/blender/draw/engines/eevee/shaders/bsdf_common_lib.glsl (+11, -1) (Diff)
/source/blender/gpu/GPU_material.h (+3, -0) (Diff)
/source/blender/gpu/intern/gpu_material.c (+168, -1) (Diff)
/source/blender/gpu/shaders/gpu_shader_material.glsl (+11, -12) (Diff)
/source/blender/makesdna/DNA_material_types.h (+1, -0) (Diff)
/source/blender/makesrna/intern/rna_layer.c (+9, -0) (Diff)
/source/blender/makesrna/intern/rna_material.c (+5, -0) (Diff)
/source/blender/nodes/shader/nodes/node_shader_subsurface_scattering.c (+7, -0) (Diff)