Instance mesh culling

When using instancing but an instance is outside the frustum, is that automatically culled or will all instances be drawn?

Right now, frustum culling is disabled by default. Meaning Object3D.frustumCulled is set to false in the constructor of InstancedMesh. This was done since view frustum culling requires proper bounding volumes to work and they can’t be computed for InstancedMesh, yet.

However, there is a PR trying to fix this:

Ok, groovy, ty for the reply m8

Just for clarification: If the above PR gets merged at some point, bounding volumes can be computed which enclose all instances of InstancedMesh. Culling individual instances will never be possible.

1 Like