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. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    Dismiss Notice

Transparency doesn't work

Discussion in 'General Graphics' started by maurus, Aug 5, 2015.

  1. maurus

    maurus

    Joined:
    Jul 9, 2014
    Posts:
    11
    Hi there

    Well I created this stone fence-like texture. But somehow the transparency-thing doesn't work. See the Image for the specs (left and upper-right in Unity, lower right in Photoshop).
    I've tried both, with and without the "Alpha from Grayscale" and "Alpha is transparency" flag.
    I don't see why it isn't working. Especially when it seems like Unity recognizes it properly as an alpha-channel texture as you can see in the lower left.
    Transparency.jpg

    Any ideas?
    Thanks in advance!
     
  2. Eric5h5

    Eric5h5

    Volunteer Moderator Moderator

    Joined:
    Jul 19, 2006
    Posts:
    32,401
    What shader are you using?

    --Eric
     
  3. maurus

    maurus

    Joined:
    Jul 9, 2014
    Posts:
    11
    Standard (Specular setup) with Unity 5.1.1f1
     
  4. fffMalzbier

    fffMalzbier

    Joined:
    Jun 14, 2011
    Posts:
    3,276
    You probably have to set the Render Mode in the Material to Cutout.
    The default Render Mode Opaque does not use any transparency.
     
    FuturescoGames likes this.
  5. maurus

    maurus

    Joined:
    Jul 9, 2014
    Posts:
    11
    Ah, now it works. Thanks fffMalzbier! :)