stemkoski/stemkoski.github.com

skyBox needs flipping

SteveOW opened this issue · 0 comments

With reference to your skyBox demo at http://stemkoski.github.io/Three.js/Skybox.html, using MeshBasicMaterial. The images displayed in the skybox are "flipped" or "mirrored" relative to the original source images.

I suggest two changes are needed:-

  1. In defining materials do not use "side: THREE.BackSide", either use "side: THREE.FrontSide" or just dont indicate side as it will default to FrontSide.
  2. Change the (x) scaling of the skyBox mesh e.g. using "skyBox.scale.set(-1,1,1)".

See http:/threejs.org/examples/canvas_geometry_panorama.html (for Canvas, not webGL).