diff --git a/public/index.html b/public/index.html index 21aae78b44a0491c428b4594904e3971c24a5386..7c82a8003b6f6e9893fe0dcd1b4a3cb6ee0e01d0 100644 --- a/public/index.html +++ b/public/index.html @@ -24,7 +24,7 @@ async function activateXR() { const scene = new THREE.Scene(); // Color of the torus geometry. -const material = new THREE.PointsMaterial({ color: 0x7a0177, size: 0.1 }); +const material = new THREE.MeshToonMaterial({ color: 0xc994c7 }); // Create the torus and add it to the demo scene. const torus = new THREE.Mesh( new THREE.TorusKnotGeometry(0.3, 0.2, 32, 6, 2, 3), material);