- Home /
Is there any benefit to slicing in power of two dimensions inside a sprite sheet?
I'm pretty sure there is nothing to gain from doing that, but I want to clear up any doubts.
Thanks.
I'm pretty sure that it doesn't matter since the spritesheet is loaded as a whole, the sliced sprites are just for internal use so the Sprite Renderer knows how to change the uv mapping for the animation frames.
Answer by Xarbrough · Mar 18, 2018 at 12:09 AM
No, the sprite sheet itself has power-of-two dimensions to optimize specific situations like compression or texture handling on the GPU, although even that is becoming less and less relevant. Each slice still loads the entire sprite sheet, so the size of individual slices doesn't matter much. It's more important to create sensible groups and efficient layouts so that as few sprite atlases are used at one time as possible while still being small enough for the target hardware to handle.
Your answer
Follow this Question
Related Questions
random sprite javascript 0 Answers
Changing texture depending on angle to another player 1 Answer
Animating hair over sprite animation 0 Answers
Random 2d particles in Particle_system from spritesheet 1 Answer
2d sprite animation issue 2 Answers