Blender Git Commit Log

Git Commits -> Revision 46cd87f

Revision 46cd87f by Clément Foucault (master)
April 3, 2017, 19:52 (GMT)
Eevee: LTC area lights

Using Linear Transform Cosines to compute area lighting. This is far more accurate than other techniques but also slower.

We use rotating quad to mimic sphere area light. For a better approximation, we use a rotating octogon.

Commit Details:

Full Hash: 46cd87f5da6338577581055c6b0f453e29c7bc49
Parent Commit: a78e97b
Lines Changed: +408, -18

2 Added Paths:

/source/blender/draw/engines/eevee/eevee_lut.h (+38, -0) (View)
/source/blender/draw/engines/eevee/shaders/ltc_lib.glsl (+243, -0) (View)

9 Modified Paths:

/source/blender/draw/CMakeLists.txt (+1, -0) (Diff)
/source/blender/draw/engines/eevee/eevee.c (+19, -0) (Diff)
/source/blender/draw/engines/eevee/eevee_lights.c (+3, -3) (Diff)
/source/blender/draw/engines/eevee/shaders/bsdf_common_lib.glsl (+33, -4) (Diff)
/source/blender/draw/engines/eevee/shaders/bsdf_direct_lib.glsl (+65, -8) (Diff)
/source/blender/draw/engines/eevee/shaders/lit_surface_frag.glsl (+3, -1) (Diff)
/source/blender/draw/intern/draw_manager.c (+1, -1) (Diff)
/source/blender/gpu/GPU_texture.h (+1, -1) (Diff)
/source/blender/gpu/intern/gpu_texture.c (+1, -0) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021