From 56d9e19beff21c5af3862b1266d2f076c2859036 Mon Sep 17 00:00:00 2001 From: Thapa <luxthapa6363@gmail.com> Date: Tue, 20 Jun 2023 15:46:33 +0000 Subject: [PATCH] Update 1-Cube.html --- public/1-Cube.html | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/public/1-Cube.html b/public/1-Cube.html index 0802633..f61a9de 100644 --- a/public/1-Cube.html +++ b/public/1-Cube.html @@ -25,12 +25,12 @@ async function activateXR() { // The cube will have a different color on each side. const materials = [ + new THREE.MeshNormalMaterial({color: 0x000000}), + new THREE.MeshBasicMaterial({color: 0x744700}), + new THREE.MeshBasicMaterial({color: 0x744700}), new THREE.MeshBasicMaterial({color: 0x000000}), - new THREE.MeshBasicMaterial({color: 0x444444}), - new THREE.MeshBasicMaterial({color: 0x5b5b5b}), - new THREE.MeshBasicMaterial({color: 0x999999}), - new THREE.MeshBasicMaterial({color: 0xbcbcbc}), - new THREE.MeshBasicMaterial({color: 0xeeeeee}) + new THREE.MeshBasicMaterial({color: 0xffffff}), + new THREE.MeshBasicMaterial({color: 0xffffff}) ]; // Create the cube and add it to the demo scene. -- GitLab