Hello!
Thank you for this…
I tried to download the new version you sent but nothing has changed. The maps are still inverted as you can see in the background cube.
I already exported the maps to be used to create the sky cube, but being inverted I cannot make them seamless. Maybe I should invert them using GIMP?
This is the code I used:
var textureLoader = new THREE.TextureLoader();
var fronte = textureLoader.load("immagini/testGrid.jpg");
var materialiCubo =
[
new THREE.MeshBasicMaterial({map: fronte, side: THREE.BackSide}),
new THREE.MeshBasicMaterial({map: fronte, side: THREE.BackSide}),
new THREE.MeshBasicMaterial({map: fronte, side: THREE.BackSide}),
new THREE.MeshBasicMaterial({map: fronte, side: THREE.BackSide}),
new THREE.MeshBasicMaterial({map: fronte, side: THREE.BackSide}),
new THREE.MeshBasicMaterial({map: fronte, side: THREE.BackSide})
];
var geometriaCubo = new THREE.BoxGeometry(500, 500, 500);
var cubo = new THREE.Mesh(geometriaCubo, materialeCubo);
scene.add(cubo);
I didn’t flip the maps at the moment, but flipping them results in the same…
This is the map I use to test it…