How to create material for 2d animated objects?
Hello People,
I have tested adding a material to a 2D sprite with a single animation (using spritesheet and normal maps for that specific spritesheet) and everything looks good, I see my material getting applied to each frame of the animation.
Now I added a bunch of other animations to my character and obviously, the material is not working anymore since the frames of the other animations are not present in the material. So my question is what is the correct approach to support all the rest of the animations?
Create an atlas of all the frames and the normal maps corresponding to them and then create an Atlas material?
Have separate materials for each spritesheet and change material of the spriteRenderer in runtime?
Another way That I don't know yet?
Thanks a lot.
Your answer
![](https://koobas.hobune.stream/wayback/20220612185823im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Using a Sprite Sheet Makes Blurry Sprites 0 Answers
Sprite Normal Map Outline 1 Answer
Sprite sheet and animation slice doubt 0 Answers