gpt4 book ai didi

javascript - 最新的 Firefox/Chrome 不支持 WEBGL_draw_buffers

转载 作者:塔克拉玛干 更新时间:2023-11-02 21:45:10 33 4
gpt4 key购买 nike

谷歌搜索会显示各种各样的人使用多个渲染目标(又名 MRT)和 WEBGL_draw_buffers 扩展。搜索还将显示 Firefox 和 Chrome 都应该支持它,并且可能必须分别在 about:config/about:flags 中启用一个标志,以允许使用仍处于草案状态的扩展。

但是,以上都没有让我访问扩展程序。我更改了 Firefox Aurora 和 Chrome Canary 上的配置,但没有成功。

有什么解决办法吗?

最佳答案

首先,对 Chrome 一无所知。对不起。我的回答是关于 Firefox 的。

both Firefox and Chrome are supposedly supporting it

“支持”可能言过其实...有正在积极开发和测试的 alpha 或 beta 级代码,并且出于这个原因默认情况下故意禁用它。

在 Firefox Beta 24 及更高版本中,您可以在 about:config 中切换 webgl.enable-draft-extensions 首选项以启用 WEBGL_draw_buffers

我在 MacBook Air(Intel HD Graphics 3000)、OSX Lion 和 the Khronos WebGL test suite 上进行了测试:

  • Beta 24:崩溃!
  • Aurora 25:崩溃!
  • Nightly 26:所有测试均通过,特别是

    PASS Successfully enabled WEBGL_draw_buffers extension
    PASS WEBGL_draw_buffers listed as supported and getExtension succeeded

关于javascript - 最新的 Firefox/Chrome 不支持 WEBGL_draw_buffers,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/18795477/

33 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com