diff --git a/pipe.html b/pipe.html index 4edd6c1..f2cae63 100644 --- a/pipe.html +++ b/pipe.html @@ -114,7 +114,7 @@ renderer.setSize(window.innerWidth, window.innerHeight); // Lighting. - const ambientLight = new THREE.AmbientLight(0xffffff, 0.6); + const ambientLight = new THREE.AmbientLight(0xffffff, 0.8); scene.add(ambientLight); const directionalLight1 = new THREE.DirectionalLight(0xffffff, 1); directionalLight1.position.set(1, 1, 1); @@ -138,7 +138,7 @@ let pipes = []; // Constants to limit complexity. - const MAX_PIPE_COUNT = 4000; // Maximum count of fully grown pipes. + const MAX_PIPE_COUNT = 2500; // Maximum count of fully grown pipes. const PIPE_LIFECYCLE = 300000; // 5 minutes. // PipeSegment class.