PixiJsForum1 Posted June 21, 2021 Share Posted June 21, 2021 Hello! I've googling a lot and I can't seem to find if there's any performance implication on new Application({ resolution: 1}) vs new Application({ resolution: 2, autoResize: true}) I'm solving an issue related to image, text, graphics, etc crispness, and after adding pixelDeviceRatio as argument for resolution, everything looks just beautiful, but the app just feel more... slow Quote Link to comment Share on other sites More sharing options...
ivan.popelyshev Posted June 21, 2021 Share Posted June 21, 2021 > I can't seem to find if there's any performance implication on Well, guess what it does 4x more pixels! Fillrate down, memory down, e.t.c. btw we added new package https://github.com/pixijs/graphics-smooth that helps with lines: https://pixijs.io/examples/#/plugin-graphics-smooth/simple.js it doesnt need antialias nor resolution Quote Link to comment Share on other sites More sharing options...
PixiJsForum1 Posted June 21, 2021 Author Share Posted June 21, 2021 Do you have any suggestions for improving the quality of the stuff? My computer have devicePixelRatio = 2, and here are some screenshots of the huge difference resolution: 2 and autoResize: true resolution: 1 It's quality the way to go? Or there's a potentially better solution (btw, what you see in the screen are just PNG's images loaded in PIXI.Sprite's, the green button is PIXI.Graphic, and the text of the button PIXI.Text) Quote Link to comment Share on other sites More sharing options...
PixiJsForum1 Posted June 23, 2021 Author Share Posted June 23, 2021 On 6/21/2021 at 4:20 PM, ivan.popelyshev said: > I can't seem to find if there's any performance implication on Well, guess what it does 4x more pixels! Fillrate down, memory down, e.t.c. btw we added new package https://github.com/pixijs/graphics-smooth that helps with lines: https://pixijs.io/examples/#/plugin-graphics-smooth/simple.js it doesnt need antialias nor resolution Mostly for sprites, I think I can use grapchis-smooth for Graphics, and scale font size for text Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.