【问题标题】:The same three-dimensional scene created by three.js is clear in chrome and not clear in firefox同样是three.js创建的三维场景,chrome中清晰,firefox中不清晰
【发布时间】:2019-03-27 04:12:54
【问题描述】:

同样是three.js创建的三维场景,chrome下清晰,firefox不清晰:

镀铬(透明):

firefox(不清楚):

【问题讨论】:

  • 这是一个示例 three.js 吗?如果是,是哪一个:threejs.org/examples?如果没有,您可以发布生成链接图像的代码吗?
  • 如果您未能提供重现问题的方法,该问题将被关闭。

标签: javascript three.js


【解决方案1】:

检查窗口缩放级别是否设置为 100%,并验证每个浏览器中的两个 renderer.domElements 的调整大小功能是否具有相同或相似的宽度/高度输出。也可以看看 renderer.devicePixelRatio?

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2016-12-12
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2020-05-10
    • 2018-12-05
    • 2019-02-04
    相关资源
    最近更新 更多