From 0dff8aceac4652e6859e8707c44e36b57ff70eb3 Mon Sep 17 00:00:00 2001 From: Arne Keller Date: Tue, 1 Feb 2022 18:07:39 +0100 Subject: [PATCH] Render spheres with less parts --- game.html | 2 +- game.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/game.html b/game.html index e1fa317..ea83f1e 100644 --- a/game.html +++ b/game.html @@ -10,7 +10,7 @@
Score: 0
-
Version 1.2c
+
Version 1.2d
diff --git a/game.js b/game.js index f504d5a..e42ffa6 100644 --- a/game.js +++ b/game.js @@ -220,7 +220,7 @@ scene = new THREE.Scene(); const camera = new THREE.PerspectiveCamera(70, window.innerWidth / window.innerHeight, 0.1, 5000); // obstacle geometry and material -const geometrySphere = new THREE.SphereGeometry(11, 32, 32); +const geometrySphere = new THREE.SphereGeometry(11, 16, 16); const materialSphere = new THREE.MeshBasicMaterial(); const customMaterial = new THREE.ShaderMaterial({ uniforms: {