I am currently making a 360-degree picture viewer in Unity for Android. All equirectangular pictures are loaded in the resources folder.
I want to know if TextureImporter class can be used to convert the 2d textures into Cubemap during runtime.
Currently, I am converting the 2d textures into Cubemaps. Created materials for each on of it. And loading this material under skybox component added in Main camera. The downside of using this approach is the apk size more than 250 mb.
If I could make cube maps on the fly I could save some good amount of space.
Please help!

asset bundlesto avoid large applications - Hristo