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

Unity Alphachannel help

Discussion in 'Formats & External Tools' started by Entlight, Aug 16, 2013.

  1. Entlight

    Entlight

    Joined:
    Mar 29, 2010
    Posts:
    15
    So my problem is that im trying to make a transparent image without the white outlines. I used the alpha layer tool unity gives out but the problem is that i need to do it without using a material this is how the problem looks.

    $6c03d02a198273c03b9f6a08d09cf983.png

    i really need help

    -Lucas
     
  2. twiesner

    twiesner

    Joined:
    Oct 4, 2011
    Posts:
    309
    what format are you saving the image out as?
     
  3. Entlight

    Entlight

    Joined:
    Mar 29, 2010
    Posts:
    15
    The format on the image is psd but i've tried png aswell
     
  4. wccrawford

    wccrawford

    Joined:
    Sep 30, 2011
    Posts:
    2,039
  5. gryff

    gryff

    Joined:
    Apr 17, 2012
    Posts:
    360
    A trick I picked up when building for Second Life - needs a 2d graphics program that supports Layers :

    1. Duplicate the layer with your character a few times.

    2. Now Gaussian Blur all the layers except the top layer

    3. Create the Alpha mask from the unblurred top layer.

    4. Now merge the layers down, save as a .png

    cheers, gryff :)
     
  6. ArturoNereu

    ArturoNereu

    Joined:
    Aug 23, 2012
    Posts:
    10
    You need to premultiply the Alpha on your image software.
     
  7. Pix10

    Pix10

    Joined:
    Jul 21, 2012
    Posts:
    850
    Note that Photoshop can't save premultiplied pngs. Save as TGA with an alpha channel.
     
  8. Entlight

    Entlight

    Joined:
    Mar 29, 2010
    Posts:
    15
    Thanks alot guys:)
     
  9. PatHightree

    PatHightree

    Joined:
    Aug 18, 2009
    Posts:
    297
    In Unity 4 just check the "Alpha is transparency" checkbox on the Texture's inspector window.