Hey my friends,
i have a question about OpenGL:
If i try to set a texture (100x100 pixel) to GL_QUADS it works fine.
But if i try to draw only 1/4 of the texture (25x25 pixel) it doesen't work anymore...
If i try a texture in Power of Two it works fine.
My head begins to explode :D
texturecoords are:
0, 0
0.25, 0
0.25, 0.25
0, 0.25
any ideas?
Perhaps there is a minimum size when a non-power-of-two graphic is used...
Yes there is a minimum texture size. When texturing something you should always use power of two size.
BTW I recommend to use GL_STRIP instead if GL_QUADS, since quads are not supported on mobiles and are generally considered outdated.
THX, i think i stay on power of 2 textures