I’m trying to get the cube background to work but I can’t, is there anything I could of missed?
K so the problem was that textures can’t be loaded locally, this can be solved here: https://threejs.org/docs/#manual/introduction/How-to-run-things-locally
works, red background
scene.background = new THREE.Color( 0xff0000 );
doesn’t work, black background
scene.background = new THREE.CubeTextureLoader().load( [
‘…/images/skybox/front.png’,
‘…/images/skybox/right.png’,
‘…/images/skybox/back.png’,
‘…/images/skybox/left.png’,
‘…/images/skybox/up.png’,
‘…/images/skybox/down.png’
] );
also does file navigation start at the the html that is running the js or the js location?