首页 > 解决方案 > A-frame.js version 0.8 can not render 360 image

问题描述

We are working on a basic template of rendering a 360 image on webpage. Recently we upgraded A-frame.js version from 0.7 to 0.8. The image rendering stopped when we upgraded to v0.8, Inspecting in Console we noticed that there was a warning

"[.Offscreen-For-WebGL-00000000068E6AA0]RENDER WARNING: texture bound to texture unit 0 is not renderable. It maybe non-power-of-2 and have incompatible texture filtering."

We are using the 360 image of dimension 4096*2048 bound to <a-sky> element. We also tried A-frame demo from the a-frame site with pointing it to the master branch. It seems to fail as well. Here is the demo glitch.

We also found similar question here. What are we missing? Any help would be appreciated.

标签: aframewebvr

解决方案


您必须获取资产网址,故障不会按名称查看图像。

而不是src: file.jpg您需要转到资产选项卡,单击图像并获取其 URL。

混音故障在这里


推荐阅读