let app = new PIXI.Application({
...
resolution:2,
width:window.innerWidth,
height:widow.innerHeight
...
});

app.renderer.autoDensity=true;

app.renderer.resize(window.innerWidth, window.innerHeight);

这样就不模糊了,我的pixi版本是5.2.1

http://pixijs.download/release/docs/PIXI.AbstractRenderer.html#resize

相关文章:

  • 2021-11-18
  • 2021-11-18
  • 2021-12-23
  • 2021-12-23
  • 2021-08-29
  • 2021-07-11
  • 2021-12-08
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-11-01
  • 2022-12-23
  • 2022-12-23
  • 2021-06-17
相关资源
相似解决方案