From 70899d1c9e6c6b4bca535aa89c504ceaa82c9de9 Mon Sep 17 00:00:00 2001 From: Thapa <luxthapa6363@gmail.com> Date: Tue, 20 Jun 2023 15:57:30 +0000 Subject: [PATCH] Update 1-Cube.html --- public/1-Cube.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/public/1-Cube.html b/public/1-Cube.html index f61a9de..8de833e 100644 --- a/public/1-Cube.html +++ b/public/1-Cube.html @@ -27,10 +27,10 @@ async function activateXR() { const materials = [ new THREE.MeshNormalMaterial({color: 0x000000}), new THREE.MeshBasicMaterial({color: 0x744700}), - new THREE.MeshBasicMaterial({color: 0x744700}), - new THREE.MeshBasicMaterial({color: 0x000000}), + new THREE.MeshPhongMaterial({color: 0x744700}), + new THREE.MeshLambertMaterial({color: 0x000000}), new THREE.MeshBasicMaterial({color: 0xffffff}), - new THREE.MeshBasicMaterial({color: 0xffffff}) + new THREE.MeshNormalMaterial({color: 0xffffff}) ]; // Create the cube and add it to the demo scene. -- GitLab