I know you can do texture tiling/repeating in OpenGL by setting the texture coordinates to values greater than 1.0 (eg 2.0) but is there a way I can do texture tiling with the OpenGL texture matrix?
Your input UVs are multiplied by the texture matrix to give the actual UVs.
If you input (1,1,0,0) and want (2,2,0,0), such a matrix could be
2 0 0 0
0 2 0 0
0 0 1 0
0 0 0 1
Of course, this is just an example, but your question is quite generic.
We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.OkRead more