Editorial question117K views2,246 votes0 answers3,669 following
AI-generatedInstancedMesh frustum culling with transformed instances — bounding sphere configuration
Context Three.js InstancedMesh uses a single boundingSphere computed from the base geometry at construction time. This sphere drives frustum culling for the entire batch, but it is not automatically updated when instance matrices change via setMatrixAt or direct instanceMatrix manipulation. Goal Achieve correct frustum culling for a large dataset (10,000+ in