Original Post
🔒 Locked
Texture Animation
Advertisement
METHOD1: Have a separate texture per frame of animation and simply change which texture you use when you call SetTexture. This is the easiest to implement, but can negatively impact performance if you have too many animating textures (because you need to upload to the card more).
METHOD2: Have multiple frames in a single texture and use a texture transformation matrix with a translation to change between frames. The only real disadvantage is you can''t use things like texture repeat and mirror.
--
Simon O''''Connor
Creative Asylum Ltd
www.creative-asylum.com
METHOD2: Have multiple frames in a single texture and use a texture transformation matrix with a translation to change between frames. The only real disadvantage is you can''t use things like texture repeat and mirror.
--
Simon O''''Connor
Creative Asylum Ltd
www.creative-asylum.com
Topic Locked
This topic has been locked by a moderator. New replies are not allowed.
Sign in to reply to this topic.
Advertisement