1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-15 13:51:40 +00:00

Merge pull request #60935 from Calinou/geometryinstance3d-gi-mode-default-static

Use the Static global illumination mode in GeometryInstance3D by default
This commit is contained in:
Rémi Verschelde
2022-06-28 14:40:53 +02:00
committed by GitHub
5 changed files with 4 additions and 6 deletions

View File

@@ -536,7 +536,7 @@ class RenderForwardClustered : public RendererSceneRenderRD {
AABB aabb;
bool use_dynamic_gi = false;
bool use_baked_light = false;
bool use_baked_light = true;
bool cast_double_sided_shadows = false;
bool mirror = false;
bool dirty_dependencies = false;

View File

@@ -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

View File

@@ -526,7 +526,7 @@ public:
receive_shadows = true;
visible = true;
layer_mask = 1;
baked_light = false;
baked_light = true;
dynamic_gi = false;
redraw_if_visible = false;
lightmap_slice_index = 0;