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

Vector Images becoming blurry, pixelated when imported into Unity.

Discussion in '2D' started by cst42, Sep 30, 2014.

  1. cst42

    cst42

    Joined:
    Mar 10, 2014
    Posts:
    12
    Hi all!

    Anyone have an issue with your vector drawing becoming blurry in unity, especially when you adjust the scaling or adjust the pixels per unit.

    I used Illustrator to make a background image. I saved the image as a .png and when I view the .png in explorer, I can increase the size of it 10 fold without it being pixelated. In Unity however the same .png image is pixelated.

    Here is my settings for the .png image




    How do you import vectorized images in .png form into unity without the image becoming pixelated?

    Thanks.
     
  2. hippocoder

    hippocoder

    Digital Ape Moderator

    Joined:
    Apr 11, 2010
    Posts:
    29,723
    uh, that's just a preview. You know that, right?
     
  3. cst42

    cst42

    Joined:
    Mar 10, 2014
    Posts:
    12
    Yes, sorry didn't want to upload the full thing. It actually looks much worse than that when upscaled in the scene and game view.

    I must be doing something wrong, just don't know what.
     
    Last edited: Sep 30, 2014
  4. Vitor_r

    Vitor_r

    Joined:
    May 23, 2013
    Posts:
    93
    Try to change the Filter Mode.
     
  5. cst42

    cst42

    Joined:
    Mar 10, 2014
    Posts:
    12
    I have tried both bilinear and trilinear for the filter mode and both are worse than the point option.
     
  6. cst42

    cst42

    Joined:
    Mar 10, 2014
    Posts:
    12
    EDIT:

    Okay in case anyone else has a similar problem, I found so far the best solution.

    Since my image is a pretty big 4269 x 2556, I should have had the Max Size set to "4096" instead of "1024". Doing this has eliminated 95% of the blur.
     
    Hamesh81 likes this.