I'm trying to make a simpler version of the threejs glTF loader example, loading just the duck. Here's what I've got. If you click and drag, my OrbitControls rotate the camera and the cube appears to rotate in response. The duck, however, just hovers, phantasmic, in the upper half of the window and just says put. What have I done wrong? I want the duck to behave the same as the cube.
Turns out I needed to add THREE.glTFShaders.update(scene, camera);
into my animate()
function.