Multi-Image Size Limit?
Monkey Targets Forums/iOS/Multi-Image Size Limit?
| ||
Hi, i am trying to use a large multi-image png 14880x480 on iso but the frames just draw as white? it works fine on HTML5 and also works if I reduce the image size to below 10% Is there a limit? Thanks. |
| ||
I think I read that 2048 x 2048 is the max texture size for OpenGL ES, but there's not much stopping you have multiple 2048 x 2048 images (only memory limitations). |
| ||
As Uncle says there is a limit. It can be as small as 1024x1024 on the old iphones so stick to that to be safe especially if you want it to work on the old hardware. |
| ||
Thanks, I was hoping Monkey would chop the image into smaller textures when using multi-image, i'll just have to use lots of images together. |
| ||
Just some more info. OpenGL ES 1.1 (3rd gen iOS devices and lower) have a texture limit of 1024 x 1024 and BigAnd said. Its a limitation on the hardware rather than OpenGL so it might not apply for other devices. http://developer.apple.com/library/ios/#documentation/3DDrawing/Conceptual/OpenGLES_ProgrammingGuide/OpenGLESPlatforms/OpenGLESPlatforms.html#//apple_ref/doc/uid/TP40008793-CH106-SW3 and http://developer.apple.com/library/ios/#documentation/3DDrawing/Conceptual/OpenGLES_ProgrammingGuide/OpenGLESPlatforms/OpenGLESPlatforms.html#//apple_ref/doc/uid/TP40008793-CH106-SW1 So I think 1024 x 1024 is the way to go if want to hit as many targets as possible. |