- Home /
Do Sprites Hinder Preformance?
Hi, I am thinking about using Sprites for my animated textures. I am making a 3D game, not a 2D one, so I was wondering if sprites hindered performance and if I should try a different technique instead? Thanks!
What kind of Sprite? Do you mean using a plugin like T$$anonymous$$2D, NGUI, etc? Do you mean using a sprite sheet? What devices are you exporting to? What all will be animated in the scene? What is the alternative that you are considering using ins$$anonymous$$d?
I am using Unity Free, not pro (forgot to mention earlier). I want to have animated faces, but Unity free doesn't support video textures. So I either have to make a script that would switch through images very quickly, or use a sprite sheet. The textures wouldn't be large, only about 512x512 per texture and there would only be about 10 or 20 per sprite sheet.
Thank you! Do you $$anonymous$$d putting that as an answer so this topic can be closed? :)
Answer by DannyB · Sep 24, 2013 at 01:47 PM
Everything you do has an impact on performance. The questions is, what do you compare it to.
If you want to have an animated texture you should use a spritesheet. You can probably do it on your own, but you should take a look at 2D Toolkit (aka TK2D) which lets you do this and tons of other 2D related stuff in Unity.
Since you mentioned you are doing a 3D game, you should note that if you go to any plugin route, you should pay some attention in selecting the right one for you, since some are more oriented to 2D games, while others provide 2D capabilities (such as sprite animation).
Animating spritesheet is a technique used by many if not most 2D games in Unity, so it is safe to say this will not be your performance downfall.
Your answer
Follow this Question
Related Questions
Tiling partial textures in GUI 1 Answer
Ref to Texture Missing when Creating Sprite by Script during Asset Postprocessing 1 Answer
Designing Particle Textures for Unity 5 Answers
Can using NPOT sprites be the reason for performance loss on older phones? 0 Answers
Why would a custom shader be unable to change sprites? 0 Answers