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>2017-06-15 01:10:34 +0300
committerClément Foucault <foucault.clem@gmail.com>2017-06-15 01:57:16 +0300
commitcac851a00e0b654e9cc3ab9c4226e5cfab5f5f3d (patch)
tree519972b4c811d4efe6993bf2c41d43a97b7c5a0f /source/blender/makesdna/DNA_lightprobe_types.h
parent810464e5f721a14bc3b6e3071f63a93f2ff68043 (diff)
Eevee: Probes: Add data display for cubemaps.
Diffstat (limited to 'source/blender/makesdna/DNA_lightprobe_types.h')
-rw-r--r--source/blender/makesdna/DNA_lightprobe_types.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/source/blender/makesdna/DNA_lightprobe_types.h b/source/blender/makesdna/DNA_lightprobe_types.h
index f5dd22f86ed..b6e2f0cecfe 100644
--- a/source/blender/makesdna/DNA_lightprobe_types.h
+++ b/source/blender/makesdna/DNA_lightprobe_types.h
@@ -62,8 +62,10 @@ typedef struct LightProbe {
struct Object *parallax_ob; /* Object to use as a parallax origin */
struct Image *image; /* Image to use on as lighting data */
+ float data_draw_size;
+
/* Runtime display data */
- float distfalloff, pad;
+ float distfalloff;
} LightProbe;
/* Probe->type */
@@ -80,6 +82,7 @@ enum {
LIGHTPROBE_FLAG_SHOW_INFLUENCE = (1 << 1),
LIGHTPROBE_FLAG_SHOW_PARALLAX = (1 << 2),
LIGHTPROBE_FLAG_SHOW_CLIP_DIST = (1 << 3),
+ LIGHTPROBE_FLAG_SHOW_DATA = (1 << 4),
};
/* Probe->display */