瀏覽代碼

GLTFLoader: Do no disable frustum culling for InstancedMesh. (#25623)

Michael Herzog 2 年之前
父節點
當前提交
2f650da97e
共有 1 個文件被更改,包括 0 次插入2 次删除
  1. 0 2
      examples/jsm/loaders/GLTFLoader.js

+ 0 - 2
examples/jsm/loaders/GLTFLoader.js

@@ -1618,8 +1618,6 @@ class GLTFMeshGpuInstancing {
 				// Just in case
 				Object3D.prototype.copy.call( instancedMesh, mesh );
 
-				// https://github.com/mrdoob/three.js/issues/18334
-				instancedMesh.frustumCulled = false;
 				this.parser.assignFinalMaterial( instancedMesh );
 
 				instancedMeshes.push( instancedMesh );