Explorar el Código

SVGLoader: Solve z-fighting in example

Mugen87 hace 7 años
padre
commit
e51502eedd
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  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
 						} );