THREE.js - Merging / Instancing Multiples of The Same GLTF Model, Without Shader Material..?
- 阅读更多 关于 THREE.js - Merging / Instancing Multiples of The Same GLTF Model, Without Shader Material..?
问题 I am using the code below to load and clone a GLTF model. In practice this works, however it is way too resource heavy and the model is around a 2mb. It has no textures and the materials are a single MeshPhongMaterial. I understand two ways to optimise this are to merge them into one mesh instead of cloning, however following numerous attempts (such as iterating within the load function with a for loop), I haven't been able to successfully do this. The second being instancing, however from a