Skip to content

Commit

Permalink
Change display of renderer
Browse files Browse the repository at this point in the history
  • Loading branch information
patgarcia committed Dec 4, 2024
1 parent d7ca6b0 commit 5daf44a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions js/threeBackground.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ function init() {
renderer.setPixelRatio(window.devicePixelRatio);
renderer.setSize(window.innerWidth, window.innerHeight);
renderer.setClearColor(0xffffff);
renderer.domElement.style.display = "hidden";
document.body.appendChild(renderer.domElement);

//Camera
Expand Down

0 comments on commit 5daf44a

Please sign in to comment.