PDA

View Full Version : animated texture on Polygon



blessman11
02-27-2011, 07:49 AM
How can I set up an animated texture on a polygon? I need this to animate my 2D character on a quad.

Bunkai.Satori
02-27-2011, 01:45 PM
Are you able to display a texture on a polygon yet? If yes, then prepare large texture set (an image with small texture tiles one by one). Then, simply replace the texture coordinates ranging from [0,0] to [1,1] according to your need so final animation effects will be achieved

blessman11
02-27-2011, 02:56 PM
Do you mean a mini-map texture? I finding it hard to imagine the solution. I can't quiet visualize the "replace texture coordinates element".

Please if possible could you refer me to a book section or tutorial

_arts_
02-28-2011, 02:03 AM
A bit less efficient, but certainly more suitable for you, just change the texture every frame or so.