Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorClément Foucault <foucault.clem@gmail.com>2022-04-15 14:43:19 +0300
committerClément Foucault <foucault.clem@gmail.com>2022-04-15 15:05:18 +0300
commit25196f8a369c354bf870b6144e3f43aa0a1d38e0 (patch)
tree31580f393b6be82bcd68b5e1981d0c5b77b1033f /source/blender/draw/engines/eevee/eevee_private.h
parent2839fe9a4d30c5737ab5075d0610c54568688fcb (diff)
EEVEE: Support disabling all lightprobe object contribution in viewport
This is supported throught the visibility toggle. The light cache will then only be used for world lighting. This is the behavior as light objects.
Diffstat (limited to 'source/blender/draw/engines/eevee/eevee_private.h')
-rw-r--r--source/blender/draw/engines/eevee/eevee_private.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/draw/engines/eevee/eevee_private.h b/source/blender/draw/engines/eevee/eevee_private.h
index effae313acf..9f97dacf9fe 100644
--- a/source/blender/draw/engines/eevee/eevee_private.h
+++ b/source/blender/draw/engines/eevee/eevee_private.h
@@ -1012,6 +1012,7 @@ typedef struct EEVEE_PrivateData {
struct DRWCallBuffer *planar_display_shgrp;
struct GHash *material_hash;
float background_alpha; /* TODO: find a better place for this. */
+ bool disable_ligthprobes;
/* Chosen lightcache: can come from Lookdev or the viewlayer. */
struct LightCache *light_cache;
/* For planar probes */