Blender Git Loki

Git Commits -> Revision e808500

April 23, 2021, 15:27 (GMT)
EEVEE: Shadow: Add Point light shadows support back

Difference with previous implementation:
- Better texture space usage of cone and area light shadow.
- Shadows are packed in an atlas. Reducing requirements for future
features.
- Sampling is simpler because shadow matrix does everything.

Commit Details:

Full Hash: e808500ba17080a26d4151f594f4722994db6199
Parent Commit: 2fd3596
Lines Changed: +694, -43

5 Added Paths:

/source/blender/draw/engines/eevee/eevee_shadow.cc (+195, -0) (View)
/source/blender/draw/engines/eevee/eevee_shadow.hh (+313, -0) (View)
/source/blender/draw/engines/eevee/shaders/eevee_depth_clear_frag.glsl (+6, -0) (View)
/source/blender/draw/engines/eevee/shaders/eevee_object_depth_simple_frag.glsl (+8, -0) (View)
/source/blender/draw/engines/eevee/shaders/eevee_shadow_lib.glsl (+22, -0) (View)

17 Modified Paths:

/source/blender/blenlib/BLI_assert.h (+3, -0) (Diff)
/source/blender/draw/CMakeLists.txt (+3, -6) (Diff)
/source/blender/draw/engines/eevee/eevee_culling.cc (+1, -1) (Diff)
/source/blender/draw/engines/eevee/eevee_id_map.hh (+0, -1) (Diff)
/source/blender/draw/engines/eevee/eevee_instance.cc (+3, -0) (Diff)
/source/blender/draw/engines/eevee/eevee_instance.hh (+4, -0) (Diff)
/source/blender/draw/engines/eevee/eevee_light.cc (+32, -13) (Diff)
/source/blender/draw/engines/eevee/eevee_light.hh (+8, -4) (Diff)
/source/blender/draw/engines/eevee/eevee_shader.hh (+15, -0) (Diff)
/source/blender/draw/engines/eevee/eevee_shader_shared.hh (+30, -6) (Diff)
/source/blender/draw/engines/eevee/eevee_shading.cc (+3, -1) (Diff)
/source/blender/draw/engines/eevee/eevee_shading.hh (+6, -4) (Diff)
/source/blender/draw/engines/eevee/eevee_view.cc (+1, -0) (Diff)
/source/blender/draw/engines/eevee/eevee_wrapper.hh (+9, -0) (Diff)
/source/blender/draw/engines/eevee/shaders/eevee_light_lib.glsl (+13, -6) (Diff)
/source/blender/draw/engines/eevee/shaders/eevee_object_forward_frag.glsl (+17, -1) (Diff)
/source/blender/draw/engines/eevee/shaders/eevee_object_lib.glsl (+2, -0) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021