Mike018 Posted February 11, 2018 Share Posted February 11, 2018 I'm wondering if you have a 30x30 solid square compared with a 30x30 square with a gradient or a gaussian blur applied to it, will that be extra processing power to move & animate it? From my understanding, once the sprite atlas is loaded, only the size matters, is that correct? Quote Link to comment Share on other sites More sharing options...
b10b Posted February 12, 2018 Share Posted February 12, 2018 On 10/02/2018 at 5:13 PM, Mike018 said: I'm wondering if you have a 30x30 solid square compared with a 30x30 square with a gradient or a gaussian blur applied to it, will that be extra processing power to move & animate it? From my understanding, once the sprite atlas is loaded, only the size matters, is that correct? It should make no difference as the block of memory is the same block of memory. However, in practise the results may vary - so instead benchmarks should be run, bottlenecks evaluated and optimized. For example in some circumstances the format of the bitmap, the device used, the inputs to the lower level rendering methods etc can have dramatic effects on the throughput. Quote Link to comment Share on other sites More sharing options...
mattstyles Posted February 14, 2018 Share Posted February 14, 2018 Yep, I agree, benchmarks are the only way to go. I'd have thought image contents makes no discernible difference unless it has transparent or semi-transparent sections. 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.