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-09 23:30:49 +0300
committerClément Foucault <foucault.clem@gmail.com>2017-06-09 23:30:49 +0300
commit20572497a4d2388d8d37663f340ce925ca3caf85 (patch)
treee14da4803faefb7706c37b19fe2a14439380c63f /source/blender/makesdna
parentda305097250b98dc7b71265e524b934fd50d4b53 (diff)
Eevee: Add parallax correction to probe reflections
Diffstat (limited to 'source/blender/makesdna')
-rw-r--r--source/blender/makesdna/DNA_probe_types.h16
1 files changed, 10 insertions, 6 deletions
diff --git a/source/blender/makesdna/DNA_probe_types.h b/source/blender/makesdna/DNA_probe_types.h
index a461fc5d4a4..8fb2c61e1c7 100644
--- a/source/blender/makesdna/DNA_probe_types.h
+++ b/source/blender/makesdna/DNA_probe_types.h
@@ -45,8 +45,8 @@ typedef struct Probe {
char type; /* For realtime probe objects */
char flag; /* General purpose flags for probes */
- char display; /* Probe visual appearance in the viewport */
- char parallax; /* Parallax type */
+ char attenuation_type; /* Attenuation type */
+ char parallax_type; /* Parallax type */
float distinf; /* Influence Radius */
float mininf[3]; /* Influence Bound Box */
@@ -74,6 +74,11 @@ enum {
PROBE_IMAGE = 2,
};
+/* Probe->flag */
+enum {
+ PRB_CUSTOM_PARALLAX = (1 << 0),
+};
+
/* Probe->display */
enum {
PROBE_WIRE = 0,
@@ -82,11 +87,10 @@ enum {
PROBE_REFLECTIVE = 3,
};
-/* Probe->parallax */
+/* Probe->parallax && Probe->attenuation_type*/
enum {
- PROBE_PARALLAX_NONE = 0,
- PROBE_PARALLAX_SPHERE = 1,
- PROBE_PARALLAX_CUBE = 2,
+ PROBE_ELIPSOID = 0,
+ PROBE_BOX = 1,
};
#ifdef __cplusplus