From fe48900c5669b055f0f499c2f8ffc953741779de Mon Sep 17 00:00:00 2001 From: Comfy Org PR Bot Date: Tue, 13 Jan 2026 13:08:23 +0900 Subject: [PATCH] [backport cloud/1.36] fix: disable frustum culling for SkinnedMesh to prevent clipping during animation (#7989) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Backport of #7856 to `cloud/1.36` Automatically created by backport workflow. ┆Issue is synchronized with this [Notion page](https://www.notion.so/PR-7989-backport-cloud-1-36-fix-disable-frustum-culling-for-SkinnedMesh-to-prevent-clipping-du-2e76d73d365081e9b323d462a60cf7dc) by [Unito](https://www.unito.io) Co-authored-by: Terry Jia --- src/extensions/core/load3d/LoaderManager.ts | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/extensions/core/load3d/LoaderManager.ts b/src/extensions/core/load3d/LoaderManager.ts index 8fbc31767..002601a70 100644 --- a/src/extensions/core/load3d/LoaderManager.ts +++ b/src/extensions/core/load3d/LoaderManager.ts @@ -160,6 +160,10 @@ export class LoaderManager implements LoaderManagerInterface { fbxModel.traverse((child) => { if (child instanceof THREE.Mesh) { this.modelManager.originalMaterials.set(child, child.material) + + if (child instanceof THREE.SkinnedMesh) { + child.frustumCulled = false + } } }) break @@ -203,6 +207,10 @@ export class LoaderManager implements LoaderManagerInterface { if (child instanceof THREE.Mesh) { child.geometry.computeVertexNormals() this.modelManager.originalMaterials.set(child, child.material) + + if (child instanceof THREE.SkinnedMesh) { + child.frustumCulled = false + } } }) break