Search Unity

Reproduce Shadow Matte from Official Unity Shader Graph Tutorial

Discussion in 'Shaders' started by Marble, Aug 6, 2018.

  1. Marble

    Marble

    Joined:
    Aug 29, 2005
    Posts:
    1,268
    In Unity's live training video here on using the Lightweight PBR Alpha Clip Threshold, there's an interesting effect that the presenter describes as a bug: when the clip value is set to 1, the opaque mesh surface is not rendered but it still receives and casts shadows as if it was.

    Indeed, the effect has been fixed and following the tutorial now produces the expected outcome. However, I really like the effect and would like to reproduce it. Is there a way to bring this back using LWP / Shader Graph?

    There appear to be some Shadow Matte shaders in various threads for the conventional Unity render pipeline; since the effect existed at once point, I'm hopeful it can be recaptured using the modern toolchain.
     
    JPPrada likes this.