Skybox background

I’m trying to add a skybox background to this but I can’t figure out what is missing in my code:


Any ideas would be much appreciated!

Looks like you’re creating the skybox in a very complex way. You could just simply do

this.scene = new THREE.Scene();
const textureCube = textureloader.load([
this.scene.background = textureCube;

Three.js will handle all the mesh and material creation for you.

thank you! I was copying/pasting code from one of the examples. Grabbed way more than I needed to. :slight_smile: