Search Unity

  1. Calling all beginners! Join the FPS Beginners Mods Challenge until December 13.
    Dismiss Notice
  2. It's Cyber Week at the Asset Store!
    Dismiss Notice

Hashed Alpha Testing

Discussion in 'Shaders' started by kite3h, Aug 4, 2017.

  1. kite3h

    kite3h

    Joined:
    Aug 27, 2012
    Posts:
    93

    This is default cut out . Alpha disappears when it goes away.

    This is Nvidia Hashed Alpha Test.
    The problem has been bothering me for a long time.
    Goog job. Nvidia.
     
  2. bgolus

    bgolus

    Joined:
    Dec 7, 2012
    Posts:
    7,661
    For those curious:
    http://graphics.cs.williams.edu/papers/HashedAlphaI3D17/

    Also, I highly recommend using blue noise for the effect. Here's a link to a bunch of free blue noise textures.
    http://momentsingraphics.de/?p=127

    I also recommend using an animated noise. You can have a hand full of 32x32 blue noise textures that you loop through (just set a new one as a global texture each frame), or use one of the RGBA blue noise textures from that link and blend between the channels.

    Is this using their stabilized screen space noise, or are you using straight screen space UVs? (Hard to tell with youtube compression.) The stabilized stuff has the added benefit of working really well in VR, where straight screen space can cause problems.
     
  3. kite3h

    kite3h

    Joined:
    Aug 27, 2012
    Posts:
    93
    I know what is problem. This is just test sample. I don't put even screen-space UV. Just put their position.

    If we continue to make games, we will fix them, but game production has already been discontinued.

    I just watched the poetry presentation and it seemed fun and followed it up.

    To fix the Unity Standard shader, I have noticed that there are too many macros that need to be fixed.
     
  4. kite3h

    kite3h

    Joined:
    Aug 27, 2012
    Posts:
    93
    And in Unity, you need to create an imposter system first to use this.
     
  5. hottabych

    hottabych

    Joined:
    Apr 18, 2015
    Posts:
    103
    Where to download this shader?