简体   繁体   English

同一个three.js创建的三维场景在chrome中清晰,在firefox中不清晰

[英]The same three-dimensional scene created by three.js is clear in chrome and not clear in firefox

The same three-dimensional scene created by three.js is clear in chrome and not clear in firefox:同一个由three.js创建的三维场景在chrome中清晰,在firefox中不清晰:

chrome (clear):铬(透明):

firefox (not clear):火狐(不清楚):

Check that the window zoom level is set to 100% and verify that both renderer.domElements in each browser have the same or similar width/height output from their resize function.检查窗口缩放级别是否设置为 100%,并验证每个浏览器中的两个 renderer.domElements 具有相同或相似的宽度/高度输出来自其调整大小功能。 Also maybe look at renderer.devicePixelRatio?也可以看看 renderer.devicePixelRatio?

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM