isfuturebright Posted March 6, 2014 Share Posted March 6, 2014 I know that the game will load faster since there's less requests with fewer files, right? But does the use of Atlas instead of spritesheets have any gain in performance? Link to comment Share on other sites More sharing options...
rich Posted March 6, 2014 Share Posted March 6, 2014 No, they're identical in terms of performance. Link to comment Share on other sites More sharing options...
isfuturebright Posted March 6, 2014 Author Share Posted March 6, 2014 Would I use less memory with Atlas then? Oh and also while on this topic: If I used power of two images would I gain performance/optimize memory access? Link to comment Share on other sites More sharing options...
rich Posted March 6, 2014 Share Posted March 6, 2014 Memory use is to do with the texture dimensions, not if they are a sprite sheet or an atlas - they are just an image at the end of the day, the frame data has no bearing on the gpu memory. Keeping to power of two textures is sensible, yes, as the GPU will round-up your image anyway. So if you've got an image that is 513px wide it will round that up to 1024px, so it will use more memory. It's just good practise to try and keep to pot sizes, but not essential - really depends on the game, quantity of assets, etc. isfuturebright 1 Link to comment Share on other sites More sharing options...
isfuturebright Posted March 6, 2014 Author Share Posted March 6, 2014 I see. Thanks rich! Link to comment Share on other sites More sharing options...
Recommended Posts