From 5daf44a875342607f5abcba49bef8af7f58a6fb5 Mon Sep 17 00:00:00 2001 From: Pat Garcia Date: Tue, 3 Dec 2024 18:37:57 -0600 Subject: [PATCH] Change display of renderer --- js/threeBackground.js | 1 + 1 file changed, 1 insertion(+) diff --git a/js/threeBackground.js b/js/threeBackground.js index 81009d8..03b85c2 100644 --- a/js/threeBackground.js +++ b/js/threeBackground.js @@ -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