graphics - iPhone OpenGL ES 2d background texture -
I have a 1024 x 1024 image that I use for texturing in my game for background.
I'm wondering if there is a correct way of portraying their large background texture.
How do I present it to:
texCoord {0,1,1,0, 0,1,1,1} upper {0,0, 0, height, width, 0, width, height} Texcorporer (Texcordor) Versace Pointer (vertical) Texture to attract clients (Texcorder, Vertex Coderrier) Draeara Apple Client (Texcorder,
It's okay ...
I do not know that the GL | ES supports glDrawTexOES extensions on the iPhone, but if you code Some of They can keep them safe, it will not make any fast drawing.
Also add some extra hints:
-
As the texture screen in large form If you are around 480 * 320 in the original resolution of 1024 * 1024 then there is no need to store the image. If you zoom or pan the image then this is the second thing.
-
If you do not upload mapmap for the background, You can save memory in small amounts.
Comments
Post a Comment