M00nR4bb1t

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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

  • Recently Browsing   0 members

    No registered users viewing this page.