Eevee: First commit of Probe support.

This commit is contained in:
2017-06-08 21:48:50 +02:00
parent cadb950490
commit 974c0cc7b6
7 changed files with 271 additions and 71 deletions

View File

@@ -104,6 +104,9 @@ static void EEVEE_cache_populate(void *vedata, Object *ob)
oedata->need_update = ((ob->deg_update_flag & DEG_RUNTIME_DATA_UPDATE) != 0);
}
}
else if (ob->type == OB_PROBE) {
EEVEE_probes_cache_add(sldata, ob);
}
else if (ob->type == OB_LAMP) {
EEVEE_lights_cache_add(sldata, ob);
}