Description of the problem
GLTF2 models that are clones do not displayed correctly. This is for a number of reasons
- the onBeforeRender callback is not copied
- GLTFShader is not cloned across
- SkinnedModel skeleton is reinitialised to 0 bones and the source skinnedmodel skeleton is not cloned
Three.js version
- [X ] Dev
- r85
- …
Browser
- All of them
- Chrome
- Firefox
- Internet Explorer
OS
- All of them
- Windows
- macOS
- Linux
- Android
- iOS
@cdata just hacked this for a project he’s working on:
https://gist.github.com/cdata/f2d7a6ccdec071839bc1954c32595e87