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 How do I add ShaderGraph to Custom SRP

Discussion in 'Shader Graph' started by Arycama, Apr 21, 2021.

  1. Arycama

    Arycama

    Joined:
    May 25, 2014
    Posts:
    183
    I haven't been able to find any resources on how to implement ShaderGraph in a custom SRP. Before I delve into the depths of the URP and HDRP source code to try and make sense of their implementations, has anyone else figured this out?

    (I've already looked through HDRP source a lot for other reasons such as lighting, volumetrics and Post FX, but it was not a pleasant experience..)

    I'm using a custom SRP written from scratch, not based on URP or HDRP.

    If anyone has figured this out or has any advice, that would be great!

    I may also look at integrating the VFX graph, though ShaderGraph is the priority, as the designers on my team were previously using Amplify. (Which is of course incompatible with my custom SRP)
     
    Bovine likes this.
  2. Bovine

    Bovine

    Joined:
    Oct 13, 2010
    Posts:
    177
    Did you get anywhere with this just considering creating an SRP
     
  3. Arycama

    Arycama

    Joined:
    May 25, 2014
    Posts:
    183
    Nope, sorry.
     
    Bovine likes this.