We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a627f5e commit 67fcec8Copy full SHA for 67fcec8
index.html
@@ -326,12 +326,16 @@
326
327
camera = new THREE.PerspectiveCamera(75, 2, 0.1, 1000);
328
camera.rotation.order="YXZ"
329
-camera.position.set(25,25,25)
+camera.position.set(50,50,50)
330
FirstPersonControls(document.getElementById("cross"),camera,0.07)
331
332
333
var ambientLight = new THREE.AmbientLight( 0xcccccc );
334
scene.add( ambientLight );
335
+var directionalLight = new THREE.DirectionalLight( 0x777777, 2 );
336
+ directionalLight.position.set( 1, 1, 0.5 ).normalize();
337
+ scene.add( directionalLight );
338
+ scene.fog = new THREE.FogExp2( 0xffffff, 0.00015 );
339
raycaster = new THREE.Raycaster();
340
var mouse = {x:0,y:0};
341
0 commit comments