我将一个gltf场景加载到three.js,但是当我将相机移动到物体附近时,一些网格物体会消失 左边是相机拍摄距离时的物体,右边是相机移动时的距离
gltf loader的源代码
function LoadModel( scene ) {
var loader = new THREE.GLTFLoader();
loader.load(
"./gltf/girl.gltf",
function (gltf) {
scene.add(gltf.scene);
var hemispheric = new THREE.HemisphereLight(0xffffff, 0x222222, 1.2);
scene.add(hemispheric);
});
}