The Specter.js Chromium extension showed me that two draw calls are made for a group of instanced meshes. There should only be one draw call. (Bjs version 7.21.0)
When stepping through the code the SubMesh
is added to the RenderingGroup
for the InstancedMesh
(at index 0 of meshes.data) and another time for the Mesh
(at index 2 of meshes.data).
The
InstancedMesh
es at index 3 and 4 don’t add further SubMesh
es to the RenderingGroup
.