瀏覽代碼

Removed polygonOffset code from SVG example.

Mr.doob 7 年之前
父節點
當前提交
454ffea70a
共有 1 個文件被更改,包括 1 次插入3 次删除
  1. 1 3
      examples/webgl_loader_svg.html

+ 1 - 3
examples/webgl_loader_svg.html

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