Mike018

sprites with gradients / gaussian blur

Recommended Posts

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?

Share this post


Link to post
Share on other sites
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.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.