Hi,
I'm using Texture packs for everything at the moment. Sometimes I have a one off sprite and I add it to a texture pack just the same. I could just add it directly to the project. But is there any advantage to this?
I've read up a fair bit on the forums about this but am still unsure what the cons of texture packs are?
Thanks
Tom
Comments
2) one texture pack will be slower to load at the start but faster usage in overall scene, while with separate sprite scene will more likely load faster, but might work slower in overall due to texture switching in CPU/GPU.
For example, imagine if CPU/GPU can handle only 1 texture at a time, it will have to be switching between multiple texture. But if everything is in one texture, it is already loaded and can be manipulated.
I would suggest combining texture packs by scenes. That way they will not grow so big, but will have complete advantage of processing, because each scene is displayed separately
Makes a lot of sense
Basically the doc shows the usage as:
those should be different texture packs
I created simple class if that can help with loading multiple atlases and holds reference of specific image to specific texture pack so you can fetch as with name of image.
Likes: antix