Blender Git Loki

Git Commits -> Revision 1d3de15

April 25, 2021, 23:44 (GMT)
EEVEE: Shadow: Simplify the shadow module

Now the shadows are linked to a `Light` object. The `Light` object is
linked to an `ObjectKey` to ensure persistence and deletion tracking.

The Uniform data are packed so that there is 1 `ShadowPunctualData`
per light in a `LightBatch`. This means there is only a shadowmap
limit to the number of `Shadow` in a scene.

Commit Details:

Full Hash: 1d3de154e21645656291b532a112957a9f034da7
Parent Commit: 4090bac
Lines Changed: +538, -346

14 Modified Paths:

/source/blender/draw/engines/eevee/eevee_culling.cc (+1, -1) (Diff)
/source/blender/draw/engines/eevee/eevee_culling.hh (+25, -37) (Diff)
/source/blender/draw/engines/eevee/eevee_instance.cc (+7, -3) (Diff)
/source/blender/draw/engines/eevee/eevee_light.cc (+82, -30) (Diff)
/source/blender/draw/engines/eevee/eevee_light.hh (+30, -13) (Diff)
/source/blender/draw/engines/eevee/eevee_shader_shared.hh (+19, -17) (Diff)
/source/blender/draw/engines/eevee/eevee_shading.cc (+2, -2) (Diff)
/source/blender/draw/engines/eevee/eevee_shadow.cc (+233, -75) (Diff)
/source/blender/draw/engines/eevee/eevee_shadow.hh (+90, -156) (Diff)
/source/blender/draw/engines/eevee/eevee_view.cc (+0, -1) (Diff)
/source/blender/draw/engines/eevee/eevee_wrapper.hh (+2, -1) (Diff)
/source/blender/draw/engines/eevee/shaders/eevee_light_lib.glsl (+4, -4) (Diff)
/source/blender/draw/engines/eevee/shaders/eevee_object_forward_frag.glsl (+4, -5) (Diff)
/source/blender/draw/engines/eevee/shaders/eevee_shadow_lib.glsl (+39, -1) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021