@@ -78,7 +78,7 @@ function main() {
() => {
const rt = new THREE.WebGLCubeRenderTarget(texture.image.height);
rt.fromEquirectangularTexture(renderer, texture);
- scene.background = rt;
+ scene.background = rt.texture;
});
}