Search Unity

  1. Unity Asset Manager is now available in public beta. Try it out now and join the conversation here in the forums.
    Dismiss Notice
  2. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  3. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

[ShaderGraph] Custom master nodes/shader templates

Discussion in 'Graphics Experimental Previews' started by JohanF_TF, Jan 10, 2019.

  1. JohanF_TF

    JohanF_TF

    Joined:
    May 20, 2015
    Posts:
    75
    Hello!

    We're using LWRP in our project and the ShaderGraph fairly extensively

    I wanted to create my own override for the generated PBR shader the graph outputs. I've been digging around in the package but have yet to find the source for the generated shader. I can find where it is being generated, but can't manage to discern where the template used is coming from.

    Is it something that we can easily override on our end and create other master nodes which outputs custom shaders? In short I want to experiment with creating tessellating shaders from the graph, which I imagine should be possible if I could modify the output and include some basic extra programs
     
  2. JohanF_TF

    JohanF_TF

    Joined:
    May 20, 2015
    Posts:
    75
    Nevermind, I believe I just found what I was looking for.
    The subshader nodes and related templates are naturally in the LWRP package