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
commit d53f1fb388
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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;