Repeating only a portion of a texture in OpenGL ES?

Posted by uj2 on Stack Overflow See other posts from Stack Overflow or by uj2
Published on 2010-06-06T23:39:17Z Indexed on 2010/06/07 6:12 UTC
Read the original article Hit count: 251

Filed under:
|
|

I know it's possible to repeat an entire texture by setting the wrap mode to GL_REPEAT, but is it somehow possible to repeat only a subregion of the texture? For example, when the texture is part of an atlas.

I'm targetting OpenGL ES 1.x, so shaders are out.

© Stack Overflow or respective owner

Related posts about opengl-es

Related posts about texture-mapping