Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Question Kill pixel

Discussion in 'Shader Graph' started by darman77, Nov 15, 2019.

  1. darman77

    darman77

    Joined:
    Jun 14, 2015
    Posts:
    17
    Can I use clip() function somehow in ShaderGraph?
     
  2. alexandral_unity

    alexandral_unity

    Unity Technologies

    Joined:
    Jun 18, 2018
    Posts:
    163
    the alpha and alpha clip threshold slots on the master node will let you discard pixels the same as the clip() function
     
    darman77 likes this.