Will Sprite transparency cost performance in Godot?

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By Idleman

One question about the performance over sprite dimension in Godot. For example, I have an image of 24x24, if I make a sprite 32x32 with pure transparent background, and the image in the centre. Will the 32x32 sprite cost more in terms of performance than using the 24x24 sprite? In another word, will larger sprite even with pure transparent background slow down performance? Thank you.

:bust_in_silhouette: Reply From: Bubu

I would say that the increased resolution would cost more power and memory anyway whether or not there’s transparency. If you want to measure the performance drop, make a test with a few hundred sprites using the Profiler.