Retina support

Hello,

Does unity support retina support easily? Are there any useful docs on supporting and detecting retina display?

I couldn’t see anything in the FAQ.

Thanks

I

Yes, it renders at a device’s native resolution automatically, unless you tell it otherwise. Nothing special required.

3D objects will appear the correct size, you only have to worry about the textures looking right at all resolutions (high enough detail for retina, etc.)

2D objects such as GUI Textures are shown at pixel size. This can be solved by checking the screen width or height and changing dimensions to suit.

Or using planes instead of GUITextures/GUIText/etc.

Hi,

Thanks…so I have to hold 2 textures, a low res and a high res and manage which texture is applied myself? I use cocos2D at the moment, and if you add a -hd extension to the image files, and enable retina support - it will use the -hd files automatically for retina devices, but the normal image files when retina is not supported. Is this the case with 3D textures? Just trying to picture in my head how this works.

Thanks again.

Regards

i

You can use two textures, or craft your textures so that they look good in both retina and standard resolutions.

If you use separate textures you will have to handle the swapping in and out yourself (presumably on application or scene load).