浏览代码

Examples: Remove unneeded material patch in unreal bloom example.

Don McCurdy 5 年之前
父节点
当前提交
21498d1ccf
共有 1 个文件被更改,包括 0 次插入5 次删除
  1. 0 5
      examples/webgl_postprocessing_unreal_bloom.html

+ 0 - 5
examples/webgl_postprocessing_unreal_bloom.html

@@ -92,11 +92,6 @@
 
 
 				scene.add( model );
 				scene.add( model );
 
 
-				// Mesh contains self-intersecting semi-transparent faces, which display
-				// z-fighting unless depthWrite is disabled.
-				var core = model.getObjectByName( 'geo1_HoloFillDark_0' );
-				core.material.depthWrite = false;
-
 				mixer = new THREE.AnimationMixer( model );
 				mixer = new THREE.AnimationMixer( model );
 				var clip = gltf.animations[ 0 ];
 				var clip = gltf.animations[ 0 ];
 				mixer.clipAction( clip.optimize() ).play();
 				mixer.clipAction( clip.optimize() ).play();