From 836705d7a98e57a4ec9d315636785d9e9ef11361 Mon Sep 17 00:00:00 2001 From: bitsawer Date: Wed, 30 Aug 2023 16:25:27 +0300 Subject: Reset SDFGI when changing editor scene tabs --- servers/rendering/environment/renderer_gi.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'servers/rendering/environment') diff --git a/servers/rendering/environment/renderer_gi.h b/servers/rendering/environment/renderer_gi.h index 6eff319882..94e2c1afda 100644 --- a/servers/rendering/environment/renderer_gi.h +++ b/servers/rendering/environment/renderer_gi.h @@ -79,6 +79,8 @@ public: virtual bool voxel_gi_is_using_two_bounces(RID p_voxel_gi) const = 0; virtual uint32_t voxel_gi_get_version(RID p_probe) const = 0; + + virtual void sdfgi_reset() = 0; }; #endif // RENDERER_GI_H -- cgit v1.2.3