diff options
author | Pedro J. Estébanez <pedrojrulez@gmail.com> | 2023-04-28 12:49:11 +0200 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2023-05-12 12:07:01 +0200 |
commit | 907b10fb96cacc5817330f7f3f92f0f8e3f97c01 (patch) | |
tree | 445f579ac1485cc73a4decec7e01a711934b5106 /servers/rendering/renderer_rd/storage_rd | |
parent | 2435c9426d3b5aba64f2aafffe1d5fc8fa06d5a7 (diff) |
Fix additional cases of breakage of rendering effects
(cherry picked from commit c58e50adccf5476dbc661cb2d0f807e419a9e586)
Diffstat (limited to 'servers/rendering/renderer_rd/storage_rd')
-rw-r--r-- | servers/rendering/renderer_rd/storage_rd/light_storage.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/servers/rendering/renderer_rd/storage_rd/light_storage.h b/servers/rendering/renderer_rd/storage_rd/light_storage.h index c36d1ef503..3360358169 100644 --- a/servers/rendering/renderer_rd/storage_rd/light_storage.h +++ b/servers/rendering/renderer_rd/storage_rd/light_storage.h @@ -93,11 +93,11 @@ private: struct ShadowTransform { Projection camera; Transform3D transform; - float farplane; - float split; - float bias_scale; - float shadow_texel_size; - float range_begin; + float farplane = 0.0; + float split = 0.0; + float bias_scale = 0.0; + float shadow_texel_size = 0.0; + float range_begin = 0.0; Rect2 atlas_rect; Vector2 uv_scale; }; |