- Home /
What is the best way to optimize cubemaps for skyboxes?
I have a mobile app with 10 levels, and each has a different skybox. The skybox is a cubemap derived from an equirectangular image. I set the max texture size to 2048, so I assume this will crunch whatever size the file is into a 2048x1024 image (am I wrong?) So 2 megs or so per image? About 20 megs total?
It's like well over 100 megs of APK when built. What are the best settings? or is there a better way? (It's a Cardboard panoramic viewer)
Try the crunched compression format for large textures on mobile devices.
Tried that, almost no improvement.
I thought that setting the import max size would mean, when the app is built, that only that much data would be saved to the apk. I resized the original files to 2048x1024, and it saved me a TON of space. So that's odd. Has that always been the way it was supposed to work?
Yes, that's how it works :)
I don't know what you mean by 'almost no improvement'. If you change the compression quality you can get it VERY small ;)