Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

How To Test Scene At 1536

Discussion in 'iOS and tvOS' started by renman3000, Apr 11, 2014.

  1. renman3000

    renman3000

    Joined:
    Nov 7, 2011
    Posts:
    6,680
    Hi There,
    I want to build pixel perfect huds for each device. From what I know, in a 2D, orthographic environment, pixel perfect is achieved by setting the camera size to half that of the screen height.

    If this is true, I have a component that I can set the sprite to be pixel perfect and it, the sprite will adjust accordingly. I will however, need to adjust the sprites position as the resizing will cause issues of crowding if I don't.

    So, what I am wondering is, since I do not have a device that is screen height 640, or 1536, and Unity does not seem to have a setting for 1536, how do I test the scene for a device at 1536?


    Also, are my theories correct as for as achieving pixel perfect goes? If not, please let me know.



    Many thanks,
    Ren
     
  2. Moonjump

    Moonjump

    Joined:
    Apr 15, 2010
    Posts:
    2,571
    I test with 768 (non-retina iPad). If a texture works there. A texture double the size should work at 1536. e.g. Test with a 1024x1024 texture at 768. Deploy with a 2048x2048 texture for 1536.

    I do have a 1536 device to check on, and it usually works. It would be scary without.
     
  3. renman3000

    renman3000

    Joined:
    Nov 7, 2011
    Posts:
    6,680
    So, if a texture is pushed to its scale limits of still looking good on a screen resolution of 768, will it look half as good on a 1536?
     
  4. Moonjump

    Moonjump

    Joined:
    Apr 15, 2010
    Posts:
    2,571
    It would look fairly similar to on a 768 screen. But users with a 1536 screen are used to graphics that make use of 1536, so it will look poor to them.
     
  5. renman3000

    renman3000

    Joined:
    Nov 7, 2011
    Posts:
    6,680
    So can it be said, with each double in resolution, a sprite, at a fixed quality, will lose half its quality?
     
  6. SouthernCoder69

    SouthernCoder69

    Joined:
    Oct 23, 2013
    Posts:
    74
    I'm confused, why are you not simply entering the custom size into the editor with the little plus sign. You can add whatever resolution you like, including iPad retina 2048x1536.
     
  7. Moonjump

    Moonjump

    Joined:
    Apr 15, 2010
    Posts:
    2,571
    No. Double the resolution and there is the potential to increase the quality by doubling the sprite resolution. By not doing that, you are not reducing the quality, you are falling short of the expected increase in quality.

    Put simply, you would be standing still while the competition is racing ahead.

    Not many people have a computer monitor that has enough space to show 2048x1536.