Browse Source

Examples: Remove unneeded material patch in unreal bloom example.

Don McCurdy 5 years ago
parent
commit
21498d1ccf
1 changed files with 0 additions and 5 deletions
  1. 0 5
      examples/webgl_postprocessing_unreal_bloom.html

+ 0 - 5
examples/webgl_postprocessing_unreal_bloom.html

@@ -92,11 +92,6 @@
 
 				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 );
 				var clip = gltf.animations[ 0 ];
 				mixer.clipAction( clip.optimize() ).play();