Order of the Butterfly
Posts: 265 from 2003/7/25
I think you need to be a bit more specific. Got sample code to illustrate the issue?
OpenGL offers four kind of texture wrapping:
3. GL_CLAMP_TO_EDGE (also known as GL_CLAMP),
Differences of these methods of wrapping are very well visualised there (in chapter “Texture Wrapping”): https://learnopengl.com/Getting-started/TexturesTinyGL in MorphOS allows to use only methods 1 and 3
(code with GL_MIRRORED_REPEAT or GL_CLAMP_TO_BORDER can't be compiled in SDK because gl.h of TinyGL doesn't contain these defines).I would like to know if reason no support GL_MIRRORED_REPEAT is in hardware or software (implementation of TinyGL). And if is any chance for add support of GL_MIRRORED_REPEAT.
If there are not chance for GL_MIRRORED_REPEAT in TinyGL, it won’t very big problem for me. I will modify a bit my code+textures for use GL_REPEAT instead ofGL_MIRRORED_REPEAT in one place in project. And I will avoid using GL_MIRRORED_REPEAT and GL_CLAMP_TO_BORDER.