Parcourir la source

SVGLoader: Solve z-fighting in example

Mugen87 il y a 7 ans
Parent
commit
e51502eedd
1 fichiers modifiés avec 1 ajouts et 0 suppressions
  1. 1 0
      examples/webgl_loader_svg.html

+ 1 - 0
examples/webgl_loader_svg.html

@@ -87,6 +87,7 @@
 
 						var material = new THREE.MeshBasicMaterial( {
 							color: Math.random() * 0xffffff,
+							depthWrite: false,
 							polygonOffset: true,
 							polygonOffsetUnits: - i
 						} );