I load a gltf scene to three.js, but when i move the camera near to the object,some meshes are disappear. Left is the object when the camera takes a distance, right is when i move the camera closer
my source code for 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);
});
}
Is there a way to fix this by editing the gltf file? I’m trying to use the files for AR in the Android Scene Viewer where I don’t have any control of the code.