We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 50cf319 commit f4c85a6Copy full SHA for f4c85a6
counter.js
main.js
@@ -63,7 +63,7 @@ function addStar() {
63
Array(200).fill().forEach(addStar); //create array of 200, call to create 200 stars in the scene
64
65
66
-const spaceTexture = new THREE.TextureLoader().load('./assets/space.jpg'); //load the space texture
+const spaceTexture = new THREE.TextureLoader().load('../assets/space.jpg'); //load the space texture
67
scene.background = spaceTexture; //set the scene's background to the space texture
68
69
function moveCamera() {
public/vite.svg
0 commit comments