- Home /
ScriptManager 2 - multiple materials
Hi,
I have built an atlas for a gameobject, which unfortunately exceeded the maximum size. I got a warning, which states that I should use multiple materials.
My question would be, how can I use different Materials or atlases for different animations on the same gameObject?
Thanks
Answer by Jean-Fabre · Apr 16, 2011 at 09:23 PM
Hi,
You'll need to use SuperSprite. In the SM2 help, it's listed in the main menu on the left. Simply follow the instructions on how to set it up and you'll then have several atlas to play with.
be careful with one single animation spanning across multiple atlas, you'll likely get a glitch as the anim switch from one atlas to the next. It might be fine depending on your framerate tho. Also, I haven't tested with the latest update, so it might have bee improved already. If you are using different animations then you'll be fine,
Bye,
Jean
Your answer
Follow this Question
Related Questions
Same Objects Shared Material each with a different offset 0 Answers
Particle System Draw Calls 1 Answer
Have just 1 material (atlas) but 100 drawcalls!! 0 Answers
Atlas Building 0 Answers
Prefenting materials[].SetColor from making Instances 1 Answer