2048x2048 textures in Unity 3?

Hi,

Does Unity3 support textures that are 2048x2048 (or bigger) on iPad/iPhone 4?

Thanks!

yes there is :slight_smile:

and there is support for the quality settings so you can use it for the pre 3GS too

At last the 1024x1024 size is an opengl driver limit nothing to do with unity, but using 2048x2048 on the iphone3G means that the texture will be rescaled to 1024x1024 isn’t it?

1024x1024 on pre 3GS is a hardware limit.
If you throw a 2048 in it will just be white and never happen.

If you use quality levels though it theoretically should work if you have a 3G quality level that uses 1/2 texture sizes

Thanks for the replies!

And are they automatically generated, or can I provide lower resolution versions myself? Since I’m working with 2D art it would be better if I could provide one…

the quality settings are automatic
if you want to provide them yourself you must implement an own system that loads the appropriate one depending on quality level / hardware instead

Are you sure about that. Because the quality settings didn’t seem to work in the last test I did. Plus the docs say that the iPhone/Android don’t use quality settings:

file:///Applications/Unity/Unity.app/Contents/Documentation/Documentation/Components/class-QualitySettings.html

EDIT: Wow, I just did another test and it looks like they work! Thanks dreamora!

Too bad. I was already planning to make such a loading system, but reading your post gave me hope that it would be handled by Unity already.
Would be a great feature.

its the same as on the desktop

Just to be clear, we need to enable mipmaps in the Editor in order to use the quality settings for textures, right? And what benefit does this bring? Is it purely for lowering VRAM use?

Also, what about antialiasing?

its about vram use or any image at all in case of 2048 + pre 3GS device

as for antialias: I don’t think unity implements the iphone specific ogl extension for this matter, if it did though it would only work in 3.1+ and would be either globally active or inactive I think