Blender Git Commit Log

Git Commits -> Revision b304514

Revision b304514 by Clément Foucault (eevee-rewrite)
October 8, 2021, 15:58 (GMT)
EEVEE: Transmittance: Add back light transmittance

Same as SSS this has been rewritten to support varying SSS radius.

Instead of relying on shadowmap hack to improve the transmittance
artifact (previously called translucency) we exposed a min thickness
output that will reduce the maximum of light bleeding that can happen
at the shading point. This is far from perfect but at least it is
tweakable.

The effect is now cheaper and the option to enable it is now gone.
It can always be artificially disabled by making the thickness bigger
than the sss radius.

The effect is always enabled for all SSS surfaces and will even be
applied on forward shaded object (alpha blend mode).

Commit Details:

Full Hash: b304514bd5d40b2734d44846993d950f0946bb03
Parent Commit: b0da401
Lines Changed: +195, -67

18 Modified Paths:

/release/scripts/startup/bl_ui/properties_material.py (+0, -1) (Diff)
/source/blender/draw/engines/eevee/eevee_light.cc (+4, -2) (Diff)
/source/blender/draw/engines/eevee/eevee_light.hh (+1, -1) (Diff)
/source/blender/draw/engines/eevee/eevee_shader_shared.hh (+13, -8) (Diff)
/source/blender/draw/engines/eevee/eevee_shading.cc (+21, -0) (Diff)
/source/blender/draw/engines/eevee/eevee_shadow.cc (+2, -0) (Diff)
/source/blender/draw/engines/eevee/eevee_subsurface.cc (+47, -8) (Diff)
/source/blender/draw/engines/eevee/eevee_subsurface.hh (+8, -13) (Diff)
/source/blender/draw/engines/eevee/shaders/eevee_deferred_direct_frag.glsl (+9, -3) (Diff)
/source/blender/draw/engines/eevee/shaders/eevee_gbuffer_lib.glsl (+12, -2) (Diff)
/source/blender/draw/engines/eevee/shaders/eevee_light_eval_lib.glsl (+18, -1) (Diff)
/source/blender/draw/engines/eevee/shaders/eevee_light_lib.glsl (+25, -0) (Diff)
/source/blender/draw/engines/eevee/shaders/eevee_shadow_lib.glsl (+12, -4) (Diff)
/source/blender/draw/engines/eevee/shaders/eevee_surface_deferred_frag.glsl (+7, -8) (Diff)
/source/blender/draw/engines/eevee/shaders/eevee_surface_forward_frag.glsl (+15, -3) (Diff)
/source/blender/makesdna/DNA_material_types.h (+1, -1) (Diff)
/source/blender/makesrna/intern/rna_material.c (+0, -6) (Diff)
/tests/python/eevee_render_tests.py (+0, -6) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021