Search Unity

Importing PSD: no transparency

Discussion in '2D' started by Erenquin, Aug 16, 2019.

  1. Erenquin

    Erenquin

    Joined:
    Apr 9, 2018
    Posts:
    7
    Hello,
    I'm trying to follow a Brackeys tutorial.

    He provides psd file for sprites, but when I import them I have no transparency (the transparent part is completely white).

    You can see here it works in the tutorial:


    I tried to modify the different import options to no avail.

    I tried to open the psd in GIMP, but it can't open it as it is a CYMK file. Could it be the reason ?
    Somethig else I found is that support for transparency from PSD file is deprecated in latest versions of Unity ?

    I'm using Unity 2019.1.0f2 (I know this is not the latest one, but quite recent nonetheless).

    Can someone confirm it should work (or not ?), and if yes, which option to set ?

    Thanks.
     
  2. Valjuin

    Valjuin

    Joined:
    May 22, 2019
    Posts:
    113
    Last edited: Aug 16, 2019
  3. Erenquin

    Erenquin

    Joined:
    Apr 9, 2018
    Posts:
    7
    Thanks for the answer and the link.
    For the sake of the tutorial I did not care that much the transparency.
    But I'm interested in the technical reason(s):
    1) is it functionally deprecated in Unity (to import CYMK PSD with transparency) ?, or
    2) did I miss one import option ?
    3) anything else ?
     
  4. Valjuin

    Valjuin

    Joined:
    May 22, 2019
    Posts:
    113
    This is what I did using Krita:

    File -> Open -> Car.psd

    upload_2019-8-17_18-31-33.png

    Save As MyCar.png

    upload_2019-8-17_18-32-47.png

    Import into Unity

    upload_2019-8-17_18-33-28.png

    I added the Frogger project to Unity Hub and opened it from there. It chose version 2017.4.25f1.

    This is now using Unity 2019.1.3.f1:

    Import MyCar.png

    upload_2019-8-17_19-9-3.png

    Change Texture Type

    upload_2019-8-17_19-10-7.png
     
    Last edited: Aug 17, 2019