EEVEE: Baking + Volumetrics
authorJeroen Bakker <j.bakker@atmind.nl>
Fri, 31 May 2019 09:35:01 +0000 (11:35 +0200)
committerJeroen Bakker <j.bakker@atmind.nl>
Fri, 31 May 2019 10:12:09 +0000 (12:12 +0200)
Missing init cache call to volumetrics during light baking

Reviewed By: fclem

Maniphest Tasks: T65206

Differential Revision: https://developer.blender.org/D4984

source/blender/draw/engines/eevee/eevee_lightcache.c

index 935c8a8..149ebae 100644 (file)
@@ -748,6 +748,7 @@ static void eevee_lightbake_cache_create(EEVEE_Data *vedata, EEVEE_LightBake *lb
   EEVEE_effects_cache_init(sldata, vedata);
   EEVEE_materials_cache_init(sldata, vedata);
   EEVEE_subsurface_cache_init(sldata, vedata);
+  EEVEE_volumes_cache_init(sldata, vedata);
   EEVEE_lights_cache_init(sldata, vedata);
   EEVEE_lightprobes_cache_init(sldata, vedata);