aframe icon indicating copy to clipboard operation
aframe copied to clipboard

Plane or Sky not visible on iOS Chrome and Firefox

Open arsenik opened this issue 3 years ago • 5 comments

Description: When going into VR mode on iOS Chrome or iOS Firefox the green plane is not visible.

I found out that if you reverse order of plane and sky, then it's the sky that is not visible.

<a-plane position="0 0 -4" rotation="-90 0 0" width="4" height="4" color="#7BC8A4"></a-plane>
<a-sky color="#ECECEC"></a-sky>
  • A-Frame Version: 1.2.0
  • Platform / Device: Chrome iOS, Firefox iOS
  • Reproducible Code Snippet or URL: https://aframe.io/examples/showcase/helloworld/

arsenik avatar Nov 22 '21 20:11 arsenik

Apparently this is because these browsers are using deprecated WebVR api.

arsenik avatar Nov 23 '21 19:11 arsenik

This is a regression introduced by THREE js with https://github.com/mrdoob/three.js/pull/16287

dmarcos avatar Jan 28 '22 19:01 dmarcos

For reference:

This commit is bad https://github.com/mrdoob/three.js/commit/03514f70f3

Parent is good https://github.com/mrdoob/three.js/commit/a539666a2b51a94024e75942c82ef9369e6000ae

dmarcos avatar Jan 28 '22 20:01 dmarcos

I still can not see the sky when using VR mode with iPhone. Here is the example with a simple sky: https://js.do/vr/sky.html It becomes blank when entering VR (cardboard) mode using iPhone.

rsiqueira avatar Mar 11 '22 15:03 rsiqueira

It’s a regression in three as pointed above. I haven’t had time to investigate. Any help / PRs are more than welcome

dmarcos avatar Mar 11 '22 20:03 dmarcos