Skip to content

Commit

Permalink
try 2
Browse files Browse the repository at this point in the history
  • Loading branch information
bailey authored Mar 3, 2024
1 parent caacda2 commit 45e01cf
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,9 @@
// Renderer setup
renderer = new THREE.WebGLRenderer({ antialias: true });
renderer.setSize(window.innerWidth, window.innerHeight);
renderer.xr.enabled = true;
document.body.appendChild(renderer.domElement);


// Lighting
const ambientLight = new THREE.AmbientLight(0xcccccc, 0.4);
Expand All @@ -117,7 +119,7 @@

scene.add( spotLight );

renderer.xr.enabled = true;


// Room creation
createRoom();
Expand Down

0 comments on commit 45e01cf

Please sign in to comment.