Search Unity

Feature Request How can I make Stencil Buffers the same effect in shader graph?

Discussion in 'Shader Graph' started by Leon_Huang, May 23, 2019.

  1. Leon_Huang

    Leon_Huang

    Joined:
    Apr 10, 2014
    Posts:
    2
    Bastienre4 and cparki3 like this.
  2. iimlpii

    iimlpii

    Joined:
    Feb 20, 2016
    Posts:
    2
    Have you found anything? I'm currently struggling with that exact thing.
     
  3. jensVrag

    jensVrag

    Joined:
    Aug 9, 2019
    Posts:
    6
    They are not possible to set in Shader Graph yet - you can however mask scriptable render passes with stencils starting at 2019.2
     
  4. PNordlund

    PNordlund

    Joined:
    Nov 20, 2013
    Posts:
    47
    I was pretty enthusiastic about the Shader Graph. The first thing I tried to create was a shader that make use of the stencil buffer :|