diff options
author | Clément Foucault <foucault.clem@gmail.com> | 2019-05-21 21:24:54 +0300 |
---|---|---|
committer | Clément Foucault <foucault.clem@gmail.com> | 2019-05-22 14:29:05 +0300 |
commit | 2d2ff27ce80daeb26aeb65fdf3bbe6741e7cad46 (patch) | |
tree | a0f2dc9442aafa51d615bd2e834ce18e55675f24 /source/blender/draw/engines/eevee/eevee_private.h | |
parent | 800641a77f9c12c9df76089b4ca18901390ac8c5 (diff) |
Eevee: Make lightprobes work with new DRWView system
Diffstat (limited to 'source/blender/draw/engines/eevee/eevee_private.h')
-rw-r--r-- | source/blender/draw/engines/eevee/eevee_private.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/source/blender/draw/engines/eevee/eevee_private.h b/source/blender/draw/engines/eevee/eevee_private.h index a44d1389bc7..2e652dff232 100644 --- a/source/blender/draw/engines/eevee/eevee_private.h +++ b/source/blender/draw/engines/eevee/eevee_private.h @@ -836,8 +836,13 @@ typedef struct EEVEE_PrivateData { float studiolight_glossy_clamp; float studiolight_filter_quality; - /** For rendering probes and shadows. */ + /** For rendering shadows. */ struct DRWView *cube_views[6]; + /** For rendering probes. */ + struct DRWView *bake_views[6]; + /** Same as bake_views but does not generate culling infos. */ + struct DRWView *world_views[6]; + /** For rendering planar reflections. */ struct DRWView *planar_views[MAX_PLANAR]; } EEVEE_PrivateData; /* Transient data */ |