Login  Register

JOGL GL2.GL_REPEAT

Posted by Pixelapp on Nov 05, 2011; 10:34pm
URL: https://forum.jogamp.org/JOGL-GL2-GL-REPEAT-tp3483478.html

Does anyone knows how to use GL_REPEAT in JOGL 2. I would like to have a rectangle with one texture repeated 4 times by using GL_REPEAT. I know how to do this with other implementations of opengl but since JOGL uses the Texture Class, I don't get it to work.

Also I don't want a GL_REPEAT example with spaces in between tiles, which is what I get when using the JOGL 2 Texture Class.

Moreover, there are no examples of this on the web.

Any examples anyone?

Thanks in advance.