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.
This commit is contained in:
parent
462127eff0
commit
610363add0
5 changed files with 4 additions and 6 deletions
|
|
@ -126,7 +126,7 @@ private:
|
|||
|
||||
float extra_cull_margin = 0.0;
|
||||
LightmapScale lightmap_scale = LIGHTMAP_SCALE_1X;
|
||||
GIMode gi_mode = GI_MODE_DISABLED;
|
||||
GIMode gi_mode = GI_MODE_STATIC;
|
||||
bool ignore_occlusion_culling = false;
|
||||
|
||||
const StringName *_instance_uniform_get_remap(const StringName p_name) const;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue