Texture Atlas vs Multiple Textures Performance

Recommended Posts

I am making a JRPG engine/framework thing with pixel graphics (a.k.a. relatively small sprites); think something like RPG Maker MV. I was wondering, how significantly does performance differ when loading each character/tileset/etc. as a separate image file versus when just loading one texture atlas packed using something like TexturePacker? The way I'm implementing this it would be much more convenient to just have them as separate image files, but I don't want to sacrifice too much performance. This is most probably not specific to Pixi, but that's what I'm using so I'm posting it here.

Share this post

Link to post
Share on other sites

For characters it doesnt matter, because you see only one image per character. For tiles, there are 1000 tiles on screen from same atlas, and binding extra texture every time will be slow. Also that way you can use only sprites, because pixi-tilemap has certain restrictions on the number of tilemap atlases. Please search this subforum for threads about tilemaps, its important.

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.