Now i am working on multi textures and trying to move one texture and keep one constant. dont know how to do? can you put some light on it.
I have done multitexturing created two gl_Position and texcoordinates for both images
and multiplied gl_Postion of one of the texture with urmatrix and which is a rotation matrix and updated the urmatrix so only texture rotates but both the textures are rotating
I have loaded two textures on the quad. i want to rotate the upper texture. so i multiplied the upper texture coordinates with a uni mat2 as shown in the code below. How is it that i can declare and vary the angle of the 2d rotation matrix.
how is it possible that i can vary the rotMatrix so that the upper texture rotates on time image. it would be good even if a,b,c,d of mat2(a,b,c,d)*a_texCoord1 can be varied and the output rendered to screen. I am using opengl es 2.0 on windows with esUtil framework as in examples of khoronos.