Three.js: Cube confusion
I’m having an issue with slowdown where the same number of cubes renders quickly when arranged in a plane, but slowly when packed into a cube shape. This is especially true zooming into the mess of cubes.
I have no idea why it happened. Debugging w/ WebGL inspectors revealed nothing. It affected both my Intel chip Mac, and a powerhouse GPU on Windows. But once I switched to my M1 Mac, I could no longer replicate the problem.
See demo embedded below.