Forráskód Böngészése

Tweaked a bit Lee-Perry normal map example.

Emulating telephoto lens with focal length close to human eye.
alteredq 13 éve
szülő
commit
8e1909273a
1 módosított fájl, 2 hozzáadás és 2 törlés
  1. 2 2
      examples/webgl_materials_normalmap2.html

+ 2 - 2
examples/webgl_materials_normalmap2.html

@@ -102,8 +102,8 @@
 
 				// CAMERA
 
-				camera = new THREE.PerspectiveCamera( 45, window.innerWidth / window.innerHeight, 1, 10000 );
-				camera.position.z = 900;
+				camera = new THREE.PerspectiveCamera( 27, window.innerWidth / window.innerHeight, 1, 10000 );
+				camera.position.z = 1200;
 				scene.add( camera );
 
 				// LIGHTS