Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

skyBox needs flipping #23

Open
SteveOW opened this issue Aug 11, 2014 · 0 comments
Open

skyBox needs flipping #23

SteveOW opened this issue Aug 11, 2014 · 0 comments

Comments

@SteveOW
Copy link

SteveOW commented Aug 11, 2014

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).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant