mrdoob / three.js

JavaScript 3D Library.
https://threejs.org/
MIT License
102.95k stars 35.4k forks source link

Panorama Texture Incorrectly Mapping on iOS 8.1.2 #5956

Closed jodybrewster closed 9 years ago

jodybrewster commented 9 years ago

On iOS 8.1.2 or maybe just iOS 8 in general the texture is mapping incorrectly on the current demo.

http://mrdoob.github.io/three.js/examples/webgl_panorama_equirectangular.html

mrdoob commented 9 years ago

Could you attach a screenshot?

jodybrewster commented 9 years ago

Wow ya sorry for the size. Anyway that's all you ever see is that portion of the wall.

image1

WestLangley commented 9 years ago

The environment map is too big, apparently. Reducing its size by a factor of two in each direction does appear to solve the problem.

zachwise commented 9 years ago

@WestLangley how do you go about changing the size of the environment map in this case?

WestLangley commented 9 years ago

Resize the image file.

mrdoob commented 9 years ago

This is actually a iOS bug. iOS reports that it supports that texture size but, as we can see, it does not...