Commit 4f5f80d4 authored by Esguerra Montana's avatar Esguerra Montana
Browse files

Update index.html

parent 74e48dbc
Pipeline #9424 passed with stage
in 9 seconds
...@@ -32,10 +32,10 @@ async function activateXR() { ...@@ -32,10 +32,10 @@ async function activateXR() {
scene.add(ambientLight); scene.add(ambientLight);
// Color of the tetrahedron geometry. // Color of the tetrahedron geometry.
const material = new THREE.MeshPhysicalMaterial({ color: 0xff0000, roughness: 0.5, metalness: 0.5, clearcoat: 1.0, clearcoatRoughness: 0.1 }); const material = new THREE.MeshPhysicalMaterial({ color: 0xC70039, roughness: 0.5, metalness: 0.5, clearcoat: 1.0, clearcoatRoughness: 0.1 });
// Create the tetrahedron and add it to the demo scene. // Create the tetrahedron and add it to the demo scene.
const tetrahedron = new THREE.Mesh(new THREE.TetrahedronGeometry(1), material); const tetrahedron = new THREE.Mesh(new THREE.TetrahedronGeometry(0.7), material);
// Position the tetrahedron // Position the tetrahedron
tetrahedron.position.set(0, 0, -1); tetrahedron.position.set(0, 0, -1);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment