Jump to content

sprites with gradients / gaussian blur


Mike018
 Share

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?

Link to comment
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.

Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...