diff --git a/public/index.html b/public/index.html index 40272b64d520f88cd056ee074e34c06db09cef25..924e8dba934dc21abb6be25f3ee70eef26ff27b4 100644 --- a/public/index.html +++ b/public/index.html @@ -25,12 +25,12 @@ async function activateXR() { // The cube will have a different color on each side. const materials = [ - new THREE.MeshNormalMaterial({color: 0xff0000}), - new THREE.MeshNormalMaterial({color: 0x0000ff}), - new THREE.MeshNormalMaterial({color: 0x00ff00}), - new THREE.MeshNormalMaterial({color: 0xff00ff}), - new THREE.MeshNormalMaterial({color: 0x00ffff}), - new THREE.MeshNormalMaterial({color: 0xffff00}) + new THREE.MeshBasicMaterial({color: 0xff0000}), + new THREE.MeshBasicMaterial({color: 0x0000ff}), + new THREE.MeshBasicMaterial({color: 0x00ff00}), + new THREE.MeshBasicMaterial({color: 0xff00ff}), + new THREE.MeshBasicMaterial({color: 0x00ffff}), + new THREE.MeshBasicMaterial({color: 0xffff00}) ]; // Create the cube and add it to the demo scene.