gdx-proto
gdx-proto copied to clipboard
Change Skybox to use texture atlas
Can you explain a little bit more? Becuase a skybox offen use large texture such as 512x512, 1024x1024 or even 2048x2048 and I dont see why you would pack them because I think the max texture size on android is 2048. Tell me if Im wrong!
If I was to make a mobile game, I would probably use a 6 512x512 textures and want to pack them into an atlas. For a desktop game I'd probably do 2048x2048 textures and not worry about packing them.
Yeah, thats true. Im going to see what I can do. However I have already support for images like this: http://img1.wikia.nocookie.net/__cb20120928194713/niketubestudios/images/1/19/Day_Skybox.png
as long as it looks like a flag, you can use the Sky.createSkybox(texture);
Though it takes a Texture but if you have 6 512x512 packed image you dont have room for more anyway so its going to be a texure anyway instead of an atlas.
alright, it's probably not something we need to worry about then