Преглед на файлове

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 );
 
-				// 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();