Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

PNG transparency works with Legacy shader but not Standard shader.

Discussion in 'General Graphics' started by FirstAndTen, Dec 19, 2017.

  1. FirstAndTen

    FirstAndTen

    Joined:
    Oct 16, 2017
    Posts:
    16
    Hi, I've been working on fixing this all morning. I followed the Graphic HOWTO in the Manual and made sure my PNG has an alpha channel. If I use the Standard shader on my material set to Transparency and "Alpha is tranparency checked" I get the below result, a faint grey area in the texture where it should be transparent. If I switch the shader the material uses to Legacy Shaders -> Transparent -> Diffuse the transparency works as it should.

    I can't imagine this is a bug or someone else would be hitting it. What changes do I need to make to the Standard shader so it works correctly?

    Screen Shot 2017-12-19 at 9.43.58 AM.png

    Any help is appreciated. Thanks!
     

    Attached Files:

    Last edited: Dec 19, 2017