- Home /
Best way for texture animation
Hello, I wanted to know what was the best method for performance, between animate the UV of the object or scroll through the texture list stored into an array.
Thanks!
Answer by robertbu · Aug 06, 2013 at 10:03 PM
From worst to best:
Using an array of separate images and assigning the textures to the material for each frame.
Having a page containing all the images for a single "sprite" and animating using the texture offset for the material.
Using a texture atlas (texture for multiple objects) and animating the uv coordinates in the mesh (not using the texture offset of the material) for each.
Displaying all the 'objects' in a single mesh, each getting its own four vertices and two triangles. Use a texture atlas for the contents, and modify the UV coordinates for each 'object'.
Your answer
Follow this Question
Related Questions
Animated Rotten Tomato 0 Answers
To Make Animated Textures, how do I create a Tiled Image? 1 Answer
3D Mesh Deformer in Unity3D 2 Answers
Unity4.5 AnimationCurve - Is the property "_MainTex.rotation" valid ? 0 Answers
UV scroll animation error 1 Answer