GL_MIRROR_REPEAT in texture wrap

edited January 2017 in GLSL / Shaders

Hello, I can't figure out how to set GL_TEXTURE_WRAP_x to GL_MIRRORED_REPEAT Apparently the only two methods supported by textureWrap() (as documented) are GL_CLAMP_TO_EDGE and GL_REPEAT. I tried to dig in the source code, but I can't understand what textureWrap exactly does.

Thank you.

Tagged:
Sign In or Register to comment.