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

Hashed Alpha Testing

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

  1. kite3h

    kite3h

    Joined:
    Aug 27, 2012
    Posts:
    192

    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:
    12,248
    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.
     
    Lone-Developer and FariAnderson like this.
  3. kite3h

    kite3h

    Joined:
    Aug 27, 2012
    Posts:
    192
    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:
    192
    And in Unity, you need to create an imposter system first to use this.
     
  5. hottabych

    hottabych

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