diff --git a/script.js b/script.js index 50131b4..3547a26 100644 --- a/script.js +++ b/script.js @@ -18,7 +18,9 @@ var areaNames = [ ] var areasWithEntitiesToUpdate = { } -const renderer = new THREE.WebGLRenderer() +const renderer = new THREE.WebGLRenderer({ + logarithmicDepthBuffer : true +}) renderer.setSize( window.innerWidth, window.innerHeight ) document.body.appendChild( renderer.domElement ) @@ -75,7 +77,7 @@ function animate() { fadeIn.start() } - homeContainer.rotation.z += 0.005 + homeContainer.rotation.z += 0.003 renderer.render( scene, camera ) }