mirror of
https://github.com/godotengine/godot.git
synced 2025-11-01 14:11:15 +00:00
Many fixes to improve GI Probe quality
This commit is contained in:
parent
5dd7c3b6ab
commit
3da3a36034
12 changed files with 105 additions and 18 deletions
|
@ -380,6 +380,7 @@ void GridMap::set_cell_item(int p_x, int p_y, int p_z, int p_item, int p_rot) {
|
|||
ii.multimesh->set_mesh(ii.mesh);
|
||||
ii.multimesh_instance = VS::get_singleton()->instance_create();
|
||||
VS::get_singleton()->instance_set_base(ii.multimesh_instance, ii.multimesh->get_rid());
|
||||
VS::get_singleton()->instance_geometry_set_flag(ii.multimesh_instance, VS::INSTANCE_FLAG_USE_BAKED_LIGHT, true);
|
||||
|
||||
g.items[p_item] = ii;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue