PDA

View Full Version : Texture Tiling Problem



GreenToad
02-07-2005, 05:56 PM
I'm trying to get a texture to tile across a large triangle strip. In normal OpenGL and on BREW's OpenGL ES I was able to set the texture coords (the s and t) above the range of 0 to 1 (i.e. 20) to get the texture to tile across the quad. However, on Hybrid's OpenGL ES Implementation, if I set the texture coord components to anything above 1, the texture just starts warping.

Any idea how to solve this?

GreenToad
02-07-2005, 06:04 PM
Heh, I solved it by changing this:
glHint(GL_PERSPECTIVE_CORRECTION_HINT, GL_FASTEST);

To this:
glHint(GL_PERSPECTIVE_CORRECTION_HINT, GL_NICEST);