Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change Skybox to use texture atlas #9

Open
jrenner opened this issue Aug 30, 2014 · 4 comments
Open

Change Skybox to use texture atlas #9

jrenner opened this issue Aug 30, 2014 · 4 comments

Comments

@jrenner
Copy link
Owner

jrenner commented Aug 30, 2014

No description provided.

@Caresilabs
Copy link
Contributor

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!

@jrenner
Copy link
Owner Author

jrenner commented Aug 30, 2014

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.

@Caresilabs
Copy link
Contributor

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.

@jrenner
Copy link
Owner Author

jrenner commented Aug 30, 2014

alright, it's probably not something we need to worry about then

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants