diff options
author | Clément Foucault <foucault.clem@gmail.com> | 2017-05-23 16:12:24 +0300 |
---|---|---|
committer | Clément Foucault <foucault.clem@gmail.com> | 2017-05-23 16:12:47 +0300 |
commit | 3db15ae23a542f60926baea24f838c8510371743 (patch) | |
tree | 3864799eb7ecb105ff5d5d17fce8b952ede4f6d7 /source/blender | |
parent | 6f063bdb1c316d31d108d2d609de36a0e4461db5 (diff) |
Eevee: Disable directionnal lamps shadows
Diffstat (limited to 'source/blender')
-rw-r--r-- | source/blender/draw/engines/eevee/eevee_lights.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/draw/engines/eevee/eevee_lights.c b/source/blender/draw/engines/eevee/eevee_lights.c index afc60dc3a44..e18d41845b8 100644 --- a/source/blender/draw/engines/eevee/eevee_lights.c +++ b/source/blender/draw/engines/eevee/eevee_lights.c @@ -129,10 +129,12 @@ void EEVEE_lights_cache_add(EEVEE_StorageList *stl, Object *ob) #if 1 /* TODO Waiting for notified refresh. only on scene change. Else too much perf cost. */ if (la->mode & (LA_SHAD_BUF | LA_SHAD_RAY)) { if (la->type == LA_SUN && linfo->num_cascade < MAX_SHADOW_CASCADE) { +#if 0 /* TODO filter cascaded shadow map */ led->sto = MEM_mallocN(sizeof(EEVEE_ShadowCascadeData), "EEVEE_ShadowCascadeData"); ((EEVEE_ShadowCascadeData *)led->sto)->shadow_id = linfo->num_cascade; linfo->shadow_cascade_ref[linfo->num_cascade] = ob; linfo->num_cascade++; +#endif } else if ((la->type == LA_SPOT || la->type == LA_LOCAL || la->type == LA_AREA) && linfo->num_cube < MAX_SHADOW_CUBE) { |