Make occlusion culling more precise
This commit is contained in:
parent
6dc6297b7b
commit
0ce662733b
|
@ -141,6 +141,7 @@ public partial class Mission : Node3D
|
||||||
var occluder = new ArrayOccluder3D();
|
var occluder = new ArrayOccluder3D();
|
||||||
occluder.SetArrays(vertices.ToArray(), indices.ToArray());
|
occluder.SetArrays(vertices.ToArray(), indices.ToArray());
|
||||||
occluderInstance.Occluder = occluder;
|
occluderInstance.Occluder = occluder;
|
||||||
|
occluderInstance.BakeSimplificationDistance = 0.0f;
|
||||||
cellNode.AddChild(occluderInstance);
|
cellNode.AddChild(occluderInstance);
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue