diff options
author | Clément Foucault <foucault.clem@gmail.com> | 2022-10-07 01:29:52 +0300 |
---|---|---|
committer | Clément Foucault <foucault.clem@gmail.com> | 2022-10-07 13:43:09 +0300 |
commit | 223f970407666828922616f1646768433ab7e7a0 (patch) | |
tree | 4b2a805bb226b0d807bad1522c104748fcc5045c /source/blender/draw/engines/eevee/eevee_private.h | |
parent | a775e42dee00d708ecd0725f8c04cf753b448425 (diff) |
EEVEE: Move reflection clip plane to local storage
This avoid dependency with the draw view.
Diffstat (limited to 'source/blender/draw/engines/eevee/eevee_private.h')
-rw-r--r-- | source/blender/draw/engines/eevee/eevee_private.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/draw/engines/eevee/eevee_private.h b/source/blender/draw/engines/eevee/eevee_private.h index b7f2b0ae859..e9b27354965 100644 --- a/source/blender/draw/engines/eevee/eevee_private.h +++ b/source/blender/draw/engines/eevee/eevee_private.h @@ -900,6 +900,7 @@ typedef struct EEVEE_CommonUniformBuffer { float alpha_hash_offset; /* float */ float alpha_hash_scale; /* float */ float camera_uv_scale[2], camera_uv_bias[2]; /* vec4 */ + float planar_clip_plane[4]; /* vec4 */ } EEVEE_CommonUniformBuffer; BLI_STATIC_ASSERT_ALIGN(EEVEE_CommonUniformBuffer, 16) |