Search Unity

[Free] Nice Alpha Utility

Discussion in 'Assets and Asset Store' started by FlaSh-G, Feb 16, 2011.

  1. FlaSh-G

    FlaSh-G

    Joined:
    Apr 21, 2010
    Posts:
    212
    If you ever used a texture with alpha information in 3D, you should have stumbled upon this problem:
    Semi-transparent pixels are too bright.

    You want this:


    Now, you get it.

    Istead of using a technique like this to get this result, you may now download the Nice Alpha Utility for free.

    It will create a copy of your texture asset with it's alpha information "niced".
    It's working faster than Dilation and, best of all, it's within Unity.
    It copies Aniso Level, Filter Mode and Wrap Mode from the source texture asset.
    It also has all the mipmaps of the original texture.

    Download

    It is available right here: Black Ice Games Development Download Page

    Instructions

    - Import the Package

    - Open the Nice Alpha Utility Window by clicking Window => Nice Alpha Utility
    - Drag a texture into the texture field
    - Done!

    - Alternatively, you can click on a texture asset and use it's context menu:


    - Use the Suffix Property to have the new textures have a certain name depending on the original texture.

    Stuff

    I did my best to have this working fast and nicely, though keeping it simple to use.
    Hope you like it.

    Feedback, constructive criticism, or a Unity Pro License would be appreciated ;)
     
    Last edited: Feb 16, 2011
  2. PROTOFACTOR_Inc

    PROTOFACTOR_Inc

    Joined:
    Nov 15, 2009
    Posts:
    4,054
    when i'll be at he HUD state of my project this would be really needed. How does it react with materials ?. The example you show is a sprite, texture 2D or a plane with a tranparent material ? this looks nice and smooth. need some more explanations. sorry
     
  3. FlaSh-G

    FlaSh-G

    Joined:
    Apr 21, 2010
    Posts:
    212
    Every transparent texture takes advantage when this tool is used, not only the hud ;)

    The way it works is:
    It makes a copy from a texture in your assets. The copy will look good. That's all.
    I wrote that in the first post now ;)
     
  4. PROTOFACTOR_Inc

    PROTOFACTOR_Inc

    Joined:
    Nov 15, 2009
    Posts:
    4,054
    well, for a creatures with wings a little bit transparent, if as you say it's a texture improver it should be a must have. grass, leaves etc will be improve the same way i assume ???
     
  5. FlaSh-G

    FlaSh-G

    Joined:
    Apr 21, 2010
    Posts:
    212
    What you will get is the exact same image as if you'd use it on a website, for example.
    No white aura around.
     
  6. MrDude

    MrDude

    Joined:
    Sep 21, 2006
    Posts:
    2,569
    This has given me lots of grief in past, you are right. Thanks ever so much:)
     
  7. FlaSh-G

    FlaSh-G

    Joined:
    Apr 21, 2010
    Posts:
    212
    Version 1.1 is out - Optimized some redundant mipmap handling code.
     
  8. SympaK

    SympaK

    Joined:
    Apr 14, 2010
    Posts:
    134
    nothing found in that page. sure you didn't removed it?
     
  9. FlaSh-G

    FlaSh-G

    Joined:
    Apr 21, 2010
    Posts:
    212
    You're right, sorry.
    I reuploaded it.
     
  10. MrDude

    MrDude

    Joined:
    Sep 21, 2006
    Posts:
    2,569
    I've been looking for this thread for a while now... ;)
    You just don't know how much you value a kit until it's taken away from you... ;)

    Thanks for re-uploading it.
     
  11. MrDude

    MrDude

    Joined:
    Sep 21, 2006
    Posts:
    2,569
    I've been looking for this thread for a while now... ;)
    You just don't know how much you value a kit until it's taken away from you... ;)

    Thanks for re-uploading it.
     
  12. SympaK

    SympaK

    Joined:
    Apr 14, 2010
    Posts:
    134
    TY. Have you yet gifted U3d with this utility? I guess it's a must have for them, also 'cause it resolves the issues of the built-in transparence system.
     
  13. FlaSh-G

    FlaSh-G

    Joined:
    Apr 21, 2010
    Posts:
    212
    No, and for two reasons:
    - My impression is that Unity 3.5 has most importers updated to autmatically fix this.
    - This tool doesn't bring the desired effect in many cases - just when it comes to pixels which are too bright.

    I tried to implement a dilation tool working like this Utility, but i haven't been successful yet.
     
  14. Yorick2

    Yorick2

    Joined:
    Jan 24, 2009
    Posts:
    297
  15. FlaSh-G

    FlaSh-G

    Joined:
    Apr 21, 2010
    Posts:
    212