summaryrefslogtreecommitdiff
path: root/servers/rendering/renderer_rd/renderer_scene_render_rd.cpp
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <remi@verschelde.fr>2021-03-11 11:06:53 +0100
committerGitHub <noreply@github.com>2021-03-11 11:06:53 +0100
commitdc0d1ab3b56ed635490ad0c2d8b388e24691df57 (patch)
tree532a245e5256a7e9f0a2c5cb9862fffb79a952ad /servers/rendering/renderer_rd/renderer_scene_render_rd.cpp
parent01851defb5e43803bbcd6d8221a25ebbdd963119 (diff)
parentf7cbeb0d1b4a2b7aca6a5995e98855f043f0e6e6 (diff)
Merge pull request #46888 from BastiaanOlij/cleanup_storage_rendererrd
Cleanup storage RendererRD
Diffstat (limited to 'servers/rendering/renderer_rd/renderer_scene_render_rd.cpp')
-rw-r--r--servers/rendering/renderer_rd/renderer_scene_render_rd.cpp9
1 files changed, 3 insertions, 6 deletions
diff --git a/servers/rendering/renderer_rd/renderer_scene_render_rd.cpp b/servers/rendering/renderer_rd/renderer_scene_render_rd.cpp
index f9ee01e751..4cf296f0db 100644
--- a/servers/rendering/renderer_rd/renderer_scene_render_rd.cpp
+++ b/servers/rendering/renderer_rd/renderer_scene_render_rd.cpp
@@ -4097,17 +4097,14 @@ RendererSceneRenderRD::RendererSceneRenderRD(RendererStorageRD *p_storage) {
low_end = true;
}
- if (!low_end) {
- gi.init_gi(storage);
- }
-
/* SKY SHADER */
sky.init(storage);
+ /* GI */
+
if (!low_end) {
- //SDFGI
- gi.init_sdfgi(&sky);
+ gi.init(storage, &sky);
}
{ //decals