From 610363add0335b1faf7df6fa02902e8e85c4c082 Mon Sep 17 00:00:00 2001 From: Hugo Locurcio Date: Tue, 10 May 2022 23:21:17 +0200 Subject: Use the Static global illumination mode in GeometryInstance3D by default This makes VoxelGI and SDFGI work out of the box with primitive meshes, loaded OBJ meshes and CSG nodes. --- servers/rendering/renderer_rd/forward_mobile/render_forward_mobile.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'servers/rendering/renderer_rd/forward_mobile') diff --git a/servers/rendering/renderer_rd/forward_mobile/render_forward_mobile.h b/servers/rendering/renderer_rd/forward_mobile/render_forward_mobile.h index 1b2df0ab9f..82e6c52c43 100644 --- a/servers/rendering/renderer_rd/forward_mobile/render_forward_mobile.h +++ b/servers/rendering/renderer_rd/forward_mobile/render_forward_mobile.h @@ -591,7 +591,7 @@ protected: RID material_overlay; AABB aabb; - bool use_baked_light = false; + bool use_baked_light = true; bool cast_double_sided_shadows = false; // bool mirror = false; // !BAS! Does not seem used, we already have this in the main struct -- cgit v1.2.3