Search Unity

Question Remove some passes from my shader

Discussion in 'Shader Graph' started by Abended, Aug 12, 2020.

  1. Abended

    Abended

    Joined:
    Oct 9, 2018
    Posts:
    142
    I have a procedural shader that ends up as a render texture fed to another shader. I'm 99% sure I don't need a shadow caster or a depth pass. Is there any way to fudge these two passes out? Currently, when I look at the frame debugger it shows the shader uses 5 passes, I feel like I should be able to get that number down. Does anybody have any experience with this? I'm using 2019.3, I would be open to upgrading if there are more features in newer versions.