Search Unity

Question Zwrite and Ztest?

Discussion in 'Shader Graph' started by castor76, Jul 3, 2020.

  1. castor76

    castor76

    Joined:
    Dec 5, 2011
    Posts:
    2,517
    I am pretty new to shader graph and was not able to figure out how to set things like Ztest and Zwrite options. Where are the menus for them? Dont tell me this isnt available because, frankly that is just absurd.
     
  2. CDF

    CDF

    Joined:
    Sep 14, 2013
    Posts:
    1,311
    Correct. It is absurd.
     
  3. castor76

    castor76

    Joined:
    Dec 5, 2011
    Posts:
    2,517
  4. ph_

    ph_

    Joined:
    Sep 5, 2013
    Posts:
    232
    I know it's not the answer you want, but it is one of the many features that ShaderGraph Essentials (an asset I have created) offers.

    The ZTest / ZWrite option is available through three custom master nodes: Unlit, SimpleLit and CustomLit. A custom PBR master node with more parameters is on the TODO list, but no ETA at the moment.

    Screenshot_03.png

    Please note that the asset supports Unity 2018.3 and 2019.x, but not 2020.1 yet. An update adding official support to the plugin usually comes a few days after Unity's public release.
    Hope it helps!
     
  5. castor76

    castor76

    Joined:
    Dec 5, 2011
    Posts:
    2,517
    Oh man.. do we even have to rely on the third party support for the official feature Unity saying it is production ready? ... I don't know man... I will have to use Amplify Shader Editor for now.
     
    ph_ likes this.