Search Unity

Question HalfToning Shader

Discussion in 'Shader Graph' started by Juliken, May 24, 2019.

  1. Juliken

    Juliken

    Joined:
    Jan 30, 2017
    Posts:
    17
    Hello, I'm actually working on shader graph and I want to replicate a graphic effect like this :



    This is my actual graph :


    The shadow and light works well but what I need now is to apply a HalfToning texture on the edge (between 2 smoothsteps values) depending on the dot product.

    Any ideas how to perform this ?

    I'm on Unity 2019.1.0f2, Lightweight Render Pipeline 5.13.0 and ShaderGraph 5.13.0.