Blender Git Commit Log

Git Commits -> Revision d8d1f63

Revision d8d1f63 by Clément Foucault (master)
April 15, 2018, 20:23 (GMT)
Eevee: Shadows: Transition to individual face rendering.

This gets rid of the need of a geom shader and instancing.

Both are pretty slow compared to the new method.
The only moment the old method could be better is when scene is filled
with lots of objects and most of the objects in the shadow map appear
on every layer.

But even then, we could optimize the culling and minimize the overhead.

Commit Details:

Full Hash: d8d1f637b1b0775048ef797d10b96b42c79bf4f8
Parent Commit: dd6fcd2
Lines Changed: +92, -144

5 Modified Paths:

/source/blender/draw/engines/eevee/eevee_lights.c (+66, -88) (Diff)
/source/blender/draw/engines/eevee/eevee_materials.c (+7, -11) (Diff)
/source/blender/draw/engines/eevee/eevee_private.h (+3, -2) (Diff)
/source/blender/draw/engines/eevee/shaders/bsdf_common_lib.glsl (+0, -31) (Diff)
/source/blender/draw/engines/eevee/shaders/shadow_vert.glsl (+16, -12) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021