ecsancho Posted January 7, 2017 Share Posted January 7, 2017 As I'm here creating textures I was wondering how much of a performance gain you get from using textures sizes in powers of 2. Is it a huge gain? Thanks Quote Link to comment Share on other sites More sharing options...
xerver Posted January 12, 2017 Share Posted January 12, 2017 Basically none, it has more to do with feature support and memory usage than performance. Use POT if you can (because the GPU will make it POT anyway), and some features (mipmapping, for example) may not work on certain GPUs unless they are POT. Related: labrat.mobi and themoonrat 2 Quote Link to comment Share on other sites More sharing options...
ecsancho Posted January 17, 2017 Author Share Posted January 17, 2017 Gotcha thanks for the answer Quote Link to comment Share on other sites More sharing options...
ecsancho Posted January 18, 2017 Author Share Posted January 18, 2017 Is there a performance increase using smaller textures sizes or is that just a memory thing as well? 2048x2048 vs 1024x1024 Quote Link to comment Share on other sites More sharing options...
themoonrat Posted January 18, 2017 Share Posted January 18, 2017 For mobile, I'm happy with 2048x2048. Most devices do support 4096x4096 now, but I found that some devices would stutter sometimes, when the texture was being uploaded to the gpu, and older iphones showed weird artifacts But you want as few texture swaps as you can, which rules out 1024x1024. So 2048x2048 was the sweet spot for my needs Quote Link to comment Share on other sites More sharing options...
xerver Posted January 19, 2017 Share Posted January 19, 2017 The only performance difference is that you have to upload textures to the GPU, the larger it is, the longer it takes to upload. But usually you only upload once, and then you're done. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.