Blender Git Loki
Git Commits -> Revision d9d65a0
Revision d9d65a0 by Clément Foucault (master) May 20, 2017, 14:58 (GMT) |
Eevee: Move cube shadows to octahedron shadowmaps. We render linear distance to the light in a R32 texture and store it into an octahedron projection inside a 2D texture array. This render the sampling function much more simpler and without edge artifacts. |
Commit Details:
Full Hash: d9d65a06d3db36efd5848cf7ae3e08c72c2c296b
Parent Commit: 4c3382d
Lines Changed: +248, -151
3 Added Paths:
/source/blender/draw/engines/eevee/shaders/shadow_store_frag.glsl (+47, -0) (View)
/source/blender/draw/engines/eevee/shaders/shadow_store_geom.glsl (+22, -0) (View)
/source/blender/draw/engines/eevee/shaders/shadow_store_vert.glsl (+8, -0) (View)
/source/blender/draw/engines/eevee/shaders/shadow_store_geom.glsl (+22, -0) (View)
/source/blender/draw/engines/eevee/shaders/shadow_store_vert.glsl (+8, -0) (View)
8 Modified Paths:
/source/blender/draw/CMakeLists.txt (+3, -0) (Diff)
/source/blender/draw/engines/eevee/eevee_engine.c (+7, -48) (Diff)
/source/blender/draw/engines/eevee/eevee_lights.c (+108, -31) (Diff)
/source/blender/draw/engines/eevee/eevee_private.h (+13, -5) (Diff)
/source/blender/draw/engines/eevee/shaders/lit_surface_frag.glsl (+16, -62) (Diff)
/source/blender/draw/engines/eevee/shaders/shadow_frag.glsl (+5, -0) (Diff)
/source/blender/draw/engines/eevee/shaders/shadow_geom.glsl (+10, -5) (Diff)
/source/blender/draw/engines/eevee/shaders/shadow_vert.glsl (+9, -0) (Diff)
/source/blender/draw/engines/eevee/eevee_engine.c (+7, -48) (Diff)
/source/blender/draw/engines/eevee/eevee_lights.c (+108, -31) (Diff)
/source/blender/draw/engines/eevee/eevee_private.h (+13, -5) (Diff)
/source/blender/draw/engines/eevee/shaders/lit_surface_frag.glsl (+16, -62) (Diff)
/source/blender/draw/engines/eevee/shaders/shadow_frag.glsl (+5, -0) (Diff)
/source/blender/draw/engines/eevee/shaders/shadow_geom.glsl (+10, -5) (Diff)
/source/blender/draw/engines/eevee/shaders/shadow_vert.glsl (+9, -0) (Diff)