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

Question The imported png image's alpha channel is odd.

Discussion in '2D' started by WayneJP, Jul 29, 2023.

  1. WayneJP

    WayneJP

    Joined:
    Jun 28, 2019
    Posts:
    44
    Why my texture's alpha channel is messy? I think maybe there is something wrong when I export in photoshop.
    upload_2023-7-29_17-9-33.png

    All settings are default:
    upload_2023-7-29_17-9-56.png
     

    Attached Files:

  2. venediklee

    venediklee

    Joined:
    Jul 24, 2017
    Posts:
    145
    If alpha channel is the transparency channel, you need to enable “alpha is transparency” option. Not sure why it isnt enabled by default in your case; maybe you have a texture preprocessor in your project? Try checking the behavior in an empty project if you want
     
  3. WayneJP

    WayneJP

    Joined:
    Jun 28, 2019
    Posts:
    44
    Thanks for replying! I know I shuold enable this option. The problem is that my other texture only display black background when “alpha is transparency” is disabled, but this texture has odd white and black background in the same situation.
     
  4. karderos

    karderos

    Joined:
    Mar 28, 2023
    Posts:
    376
    maybe post the original image that is faulty, and one image that isnt

    also post the import settings on the images that are good

    it would help to help u better
     
    venediklee likes this.
  5. WayneJP

    WayneJP

    Joined:
    Jun 28, 2019
    Posts:
    44
    Thanks for advice. I have already upload images. The import settings are all same and default.