Skip to content

Commit 7c2c837

Browse files
author
Avaer Kazmer
committed
Debug avatars load
1 parent 406325d commit 7c2c837

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

app.html

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -405,6 +405,13 @@
405405
loader.load(resource.url, object => {
406406
if (avatarMesh) {
407407
const model = object.scene;
408+
409+
model.traverse(o => {
410+
if (o.isMesh) {
411+
o.frustumCulled = false;
412+
}
413+
});
414+
408415
const group = new THREE.Group();
409416
const o = {
410417
url: resource.url,

0 commit comments

Comments
 (0)