Search Unity

Feature Request ShaderGraph Grouping and Organization

Discussion in 'Shader Graph' started by Jonathan_L, Oct 26, 2019.

  1. Jonathan_L

    Jonathan_L

    Joined:
    Jan 26, 2016
    Posts:
    12
    Hi,

    I have a few small suggestions for features in ShaderGraph which I think could be useful.

    1. Ability to group other groups and nodes
    Example: Being able to create a group that contains both "Get Top Position" and "Get Normalized UVs"
    upload_2019-10-26_17-17-47.png


    2. Being able to choose "Create Node" organization levels for custom sub graphs (and in future, CodeFunctionNode)
    Example: Being able to choose a new grouping so instead of "Sub Graphs > CustomSubGraph" you can place it in "MyCustomGroup > MyCustomSubGroup > CustomSubGraph"
    upload_2019-10-26_17-23-4.png

    3. Ability to choose model shown in custom sub graph view. Maybe model chosen in main preview should be used in the instance's view or have sub graph settings.
    Example: We can choose model shown in main preview but when using a custom subgraph node, the sphere model is shown.
    upload_2019-10-26_17-52-59.png
    upload_2019-10-26_17-53-17.png

    4. Shader graph routing nodes for node link organization (like Unreal Engine's reroute node)
    Example: Look at Unreal Engine's reroute node (the two blue circles in the center)
     
    Last edited: Oct 26, 2019
  2. alexandral_unity

    alexandral_unity

    Unity Technologies

    Joined:
    Jun 18, 2018
    Posts:
    110
    The second request is already possible. On the blackboard, it you double click the text underneath the SubGraph name you can add a custom path.

    The other items are already logged on our request board, but we can't give any estimate. c:
     
    TeorikDeli, whoisj and Jonathan_L like this.
  3. TeorikDeli

    TeorikDeli

    Joined:
    Apr 6, 2014
    Posts:
    28
    I believe organizing is the critical thing in the visual editors for readability and reusability. Another feature should be added is the aligning multiple nodes in each other. I don't know if I can contribute to the Shader Graph, but I'd like to! I already did some aligning options in a custom GraphView editor, and I can happily implement this (or other little things) to the Shader Graph!
     
  4. alexandral_unity

    alexandral_unity

    Unity Technologies

    Joined:
    Jun 18, 2018
    Posts:
    110
    You can create forks and pull requests to the Shader Graph tool inside of the Scriptable Render Pipeline repository on GitHub.
     
    TeorikDeli likes this.