SpaceCowboy2071 Posted September 5, 2016 Share Posted September 5, 2016 Hi, I've working on my first PixiJS project and loving the engine. I've creating a game with some fairly large textures, but it's a not a web game as it uses the Google Chrome App platform. So, file size isn't as much as consideration as performance. So, with that in mind what is the best format to save out 32-bit textures (24-bit w/ alpha)? I have only a vague knowledge of WebGL and how graphic APIs work, but I thought that a compressed texture can be more of chore (and even more memory intensive) than an uncompressed texture. So, is converting my images to PNG-8 w/ alpha even worth it (aside from the benefit of loading faster)? Thanks! -SC Quote Link to comment Share on other sites More sharing options...
ivan.popelyshev Posted September 5, 2016 Share Posted September 5, 2016 that thing worked for v3: https://github.com/pixijs/pixi-compressed-textures It enabled support of compressed textures in pixi, depends on platform, all like in webgl. For example, for windows the format is DDS, dxt3/5 v4 implementation is coming soon Quote Link to comment Share on other sites More sharing options...
SpaceCowboy2071 Posted September 6, 2016 Author Share Posted September 6, 2016 Thanks Ivan! That looks great and I will have to check it out in the future. However, I don't think I have time to implement that in the project I'm currently working on. If I just kept the textures to PNG should I save them as 8-bit lossy or 32-bit uncompressed? Thanks again! Quote Link to comment Share on other sites More sharing options...
ivan.popelyshev Posted September 6, 2016 Share Posted September 6, 2016 Only size of download will depend on it. 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.