Opengl ES sliding texture animation -


i d animate texture on vertex left right. how can this?

my old code is:

        float texcoords[] = {              itextcoord, 0.0f,              itextcoord, 1.0f,              itextcoord+1.0f, 0.0f,              itextcoord+1.0f, 1.0f,          };         this.settexturecoords(texcoords); 

but isnt best:(

you can use glmatrixmode(gl_texture_matrix) , gltranslatef().


Comments

Popular posts from this blog

apache - Add omitted ? to URLs -

redirect - bbPress Forum - rewrite to wwww.mysite prohibits login -

php - How can I stop spam on my custom forum/blog? -