Browse Source

Removed polygonOffset code from SVG example.

Mr.doob 7 years ago
parent
commit
454ffea70a
1 changed files with 1 additions and 3 deletions
  1. 1 3
      examples/webgl_loader_svg.html

+ 1 - 3
examples/webgl_loader_svg.html

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