Search Unity

Question Render faces that have normals facing camera

Discussion in 'Shader Graph' started by joeysipos, Dec 23, 2021.

  1. joeysipos

    joeysipos

    Joined:
    Jul 28, 2015
    Posts:
    41
    I want to create a shader that only renders the faces that are facing the camera and fade out with transparency the faces that are not. Something like this:
    .

    But with a gradual fade instead of off and on. Any ideas on what nodes to use or point me to any tutorials on this matter? Thanks!
     
    steril likes this.