Search Unity

Best settings for icons that will be visible in editor GUI

Discussion in 'Immediate Mode GUI (IMGUI)' started by alexanderameye, Jul 8, 2017.

  1. alexanderameye

    alexanderameye

    Joined:
    Nov 27, 2013
    Posts:
    1,383
    I have icons that will be displayed in an editor GUI, what are the best settings so I get the sharpest images?

    I currently have these settings:



    Also, how large do these icons need to be, I currently download them in 32x32, will 64x64 give me sharper results?

    Alex
     
  2. Johannski

    Johannski

    Joined:
    Jan 25, 2014
    Posts:
    826
    I would say the settings look quite good. Tirlinear is not necessary, Bilinear has the same effect (If the icon is a square at least). Other than that you can enable mipmaps to get smoother results. Enabeling mipmaps does not always create better icons, but for most cases I guess you would want mipmaps. Here is the difference between the two:


    Here are my settings:


    As for the resolution: The only case you would want 64x64px icons is, if you are using a retina display for the icon on the upper left, other than that I think 32x32px is totally sufficient.
     
  3. alexanderameye

    alexanderameye

    Joined:
    Nov 27, 2013
    Posts:
    1,383
    Thank you so much for the detailed explanation!
     
  4. Johannski

    Johannski

    Joined:
    Jan 25, 2014
    Posts:
    826
    You're welcome :)