seagull Posted February 27, 2019 Share Posted February 27, 2019 Is there any information on canvas/webGL size causing issues on mobile/ios? I think this is the issue, but also am wondering if it has something to to with PIXI. What's happening is if my canvas gets too large, or if I have too many photo sprites, the images and shapes blur, or fail completely. Debug mode: https://s.codepen.io/elegantseagulls/debug/ZwNqVN CodePen: https://codepen.io/elegantseagulls/pen/ZwNqVN If you ramp up `const containerHeight = 1600; ` to something higher, like 3000, the images blur further down the page. On a similar note, if you ramp up `imgNum` to 9, it fails on mobile osx. Can anyone think of any ways that I can work around this? Quote Link to comment Share on other sites More sharing options...
ivan.popelyshev Posted February 27, 2019 Share Posted February 27, 2019 I have only one idea: 3000 height * 2 resolution = 6000 pixels while max framebuffer size is 4096or so. seagull 1 Quote Link to comment Share on other sites More sharing options...
Exca Posted February 28, 2019 Share Posted February 28, 2019 One thing I noticed with ios when using large textures (limit depends on ios) it will resize them to smaller size instead of just failing. Got this to appear on iphone 4 with sizes over 1024x2048 and with never devices those limits have gone up. ivan.popelyshev 1 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.