A-frame.js 0.8版本无法渲染360度图像

A-frame.js version 0.8 can not render 360 image

我们正在开发一个在网页上渲染 360 度图像的基本模板。 最近我们将 A-frame.js 版本从 0.7 升级到 0.8。当我们升级到 v0.8 时,图像渲染停止了, 在控制台中检查我们注意到有一个警告

"[.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."

我们使用尺寸为 4096*2048 的 360 度图像绑定到 <a-sky> 元素。 我们还从 a-frame 站点尝试了 A-frame 演示,并将其指向 master 分支。它似乎也失败了。 这是 demo glitch.

我们也发现了类似的问题here。 我们缺少什么? 任何帮助将不胜感激。

您必须获取资产 url,故障不会按名称看到图像。

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

重新混合故障 here