Skip to content
This repository

Max size for a texture #870

Closed
nunocruz opened this Issue December 07, 2011 · 1 comment

2 participants

Nuno Cruz AlteredQualia
Nuno Cruz

What is the max size in pixels for a texture?

I tried with different file sizes and that didn't matter but when I went up a certain size, the picture wasn't loaded.

AlteredQualia

This is GPU specific:

http://alteredqualia.com/tmp/webgl-maxparams-test/

"Proper" discrete desktop GPUs will probably support 8,192 x 8,192 pixels (up to maximum of 16,384 x 16,384).

If you want to be safe, seems 2,048 x 2,048 is minimum supported across wide variety of systems (including integrated Intel GPUs and old discrete GPUs):

http://webgl-bench.appspot.com/

For mobile devices, from above stats it seems for iOS maximum is 2,048 x 2,048, for Android it's 4,096 x 4,096 pixels.

Nuno Cruz nunocruz closed this December 08, 2011
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.