Hi, due to very poor performance caused by the sheer amount of BoxGeometries in my 3D project I switched to InstancedMesh, which greatly reduced the lag, but I found out the performance could be even greater if all the unnecessary faces would be just not rendered. Everything I tried though had no effect and the faces still kept rendering, I guess this has to be done in a very different way to how I am doing it atm. Solution which I used before InstancedMesh simply went through all the BoxGeometries, checked if there is one next to each other and based on that hid the needed face. This is now, I guess impossible and rather needs completely different approach. Is it even possible? And if so, how can I do that?
Related topics
Topic | Replies | Views | Activity | |
---|---|---|---|---|
Render big amounts of box geometries with instanced mesh | 5 | 134 | October 21, 2024 | |
Question about InstancedMesh | 1 | 904 | January 3, 2020 | |
InstancedMesh mesh visibility from different angles | mesh order? | 5 | 531 | January 18, 2023 | |
Any benefit for setting up InstancedMesh for low number of meshes | 2 | 46 | February 24, 2025 | |
InstancedMesh vs. InstancedBufferGeometry | 8 | 6280 | July 10, 2022 |