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/draw/engines/eevee/eevee_private.h
parentda305097250b98dc7b71265e524b934fd50d4b53 (diff)
Eevee: Add parallax correction to probe reflections
Diffstat (limited to 'source/blender/draw/engines/eevee/eevee_private.h')
-rw-r--r--source/blender/draw/engines/eevee/eevee_private.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/source/blender/draw/engines/eevee/eevee_private.h b/source/blender/draw/engines/eevee/eevee_private.h
index eb89ee999f4..28683b0a40e 100644
--- a/source/blender/draw/engines/eevee/eevee_private.h
+++ b/source/blender/draw/engines/eevee/eevee_private.h
@@ -167,9 +167,13 @@ enum {
/* ************ PROBE UBO ************* */
typedef struct EEVEE_Probe {
- float position[3], pad1;
+ float position[3], parallax_type;
float shcoefs[9][3], pad2;
- float attenuation_bias, attenuation_scale, pad3[2];
+ float attenuation_fac;
+ float attenuation_type;
+ float pad3[2];
+ float attenuationmat[4][4];
+ float parallaxmat[4][4];
} EEVEE_Probe;
/* ************ PROBE DATA ************* */