From cac851a00e0b654e9cc3ab9c4226e5cfab5f5f3d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20Foucault?= Date: Thu, 15 Jun 2017 00:10:34 +0200 Subject: Eevee: Probes: Add data display for cubemaps. --- source/blender/makesdna/DNA_lightprobe_types.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'source/blender/makesdna/DNA_lightprobe_types.h') 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 */ -- cgit v1.2.3