Browse Source

Examples: Improve Sobel example

Mugen87 8 years ago
parent
commit
692c9d18c9
1 changed files with 2 additions and 2 deletions
  1. 2 2
      examples/webgl_postprocessing_sobel.html

+ 2 - 2
examples/webgl_postprocessing_sobel.html

@@ -70,12 +70,12 @@
 				scene = new THREE.Scene();
 
 				camera = new THREE.PerspectiveCamera( 70, window.innerWidth / window.innerHeight, 1, 1000 );
-				camera.position.set( 0, 10, 20 );
+				camera.position.set( 0, 10, 25 );
 				camera.lookAt( scene.position );
 
 				//
 
-				var geometry = new THREE.IcosahedronGeometry( 8 );
+				var geometry = new THREE.TorusKnotBufferGeometry( 8, 3, 256, 32, 2, 3 );
 				var material = new THREE.MeshPhongMaterial( { color: 0xffff00 } );
 
 				var mesh = new THREE.Mesh( geometry, material );