Thrump Posted October 23, 2020 Share Posted October 23, 2020 I'm using pixi and spine in my game, and I'd like to target chromebooks as my minimum target. Does anyone have any advice on my maximum texture size I should be aiming for? Thanks Quote Link to comment Share on other sites More sharing options...
Exca Posted October 24, 2020 Share Posted October 24, 2020 2048x2048 is always a safe bet. It's supported by virtually all devices that can run webgl. There used to be a site that collected statistics on different device data but it seems to be gone from the internet. You could use gl.getParameter( gl.MAX_TEXTURE_SIZE ) to get largest dimension the device supports. Maximum I would go is 4096x4096 and for cases where device says lower use either a downscaled version or have multiple textures. Quote Link to comment Share on other sites More sharing options...
Thrump Posted October 25, 2020 Author Share Posted October 25, 2020 Thanks Exca. 2048x2048 sounds like a good target and something I think we can hit. Thanks for MAX_TEXTURE_SIZE tip, I think I'll add that to the logs. 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.