Browse Source

Removed unneeded code in canvas_materials_depth example.

Mr.doob 13 years ago
parent
commit
a0bc0e0661
1 changed files with 0 additions and 15 deletions
  1. 0 15
      examples/canvas_materials_depth.html

+ 0 - 15
examples/canvas_materials_depth.html

@@ -100,21 +100,6 @@
 
 				}
 
-				// Lights
-
-				var ambientLight = new THREE.AmbientLight( Math.random() * 0x202020 );
-				scene.add( ambientLight );
-
-				var directionalLight = new THREE.DirectionalLight( Math.random() * 0xffffff );
-				directionalLight.position.x = Math.random() - 0.5;
-				directionalLight.position.y = Math.random() - 0.5;
-				directionalLight.position.z = Math.random() - 0.5;
-				directionalLight.position.normalize();
-				scene.add( directionalLight );
-
-				var pointLight = new THREE.PointLight( 0xff0000, 1 );
-				scene.add( pointLight );
-
 				renderer = new THREE.CanvasRenderer();
 				renderer.setSize( window.innerWidth, window.innerHeight );