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

Question AlphaClipThreshold Default value not working

Discussion in 'Shader Graph' started by cfree, May 26, 2019.

  1. cfree

    cfree

    Joined:
    Sep 30, 2014
    Posts:
    72
    Hi guys!

    Using Unity 2019.1.4f1 LWRP 5.7.2...

    Using PBR Shader... If i plug a valid map into "Alpha", it not work with the AlphaClipThreshold default value (0.5). Even if i change that value, it not work.

    But if i create a variable with the same value (0.5) and plug it into AlphaClipThreshold, it works. And if i change the variable value it works as well.

    The problem seems to be with the default value only... anyone can help me, please? It is easy to workaround, but it adds a unnecessary step.

    Maybe @phil_lira can help... is it known?

    Thanks a lot.