Do Atlases Have A Maximum Size?(SOLVED)

Hi,

Doing some “post mortem” modifications to my 1st Defold game.
Do Atlases have a maximum size?
Let me know, thanks!

Jesse

Yes, the pixels of the atlas needs to be stored somewhere and there is obviously a limit to the amount of data you can cram into a gpu or that the gpu can handle for other reasons. For HTML5 builds here’s a stats page on max texture size: https://webglstats.com/webgl/parameter/MAX_TEXTURE_SIZE The max size will differ between target platforms, typically lower on mobile and larger on desktop.

2 Likes

My target platforms are: HTML5 and Android.
I have two atlases now: 2048x1024 and 1024x1024.
Would the above atlases work OK on HTML5 and Android?

Jesse

Yes

Ok, thanks!