Open QuackCola opened 4 months ago
in the situation where a subgraph has outputs connected to its inputs and the inputs of that subgraph get deleted, instead of removing the link from the removed input. The link should be highlighted red along with a warning in the output widget
For?
S&Box
What can't you do?
Im toying with a shrimple Gerstner wave setup and I've reached the point where I need to have 4 instances of the setup below. Id really much prefer to put the node setup below into a subgraph of which then I can just reference the subgraph node 4 times instead.
How would you like it to work?
Somehow specify whether a .shdrgrph is a subgraph or not ( To avoid adding another asset type just for shadergraph alone)
Be able to right click a selection of nodes and have a context pop up with an option like "Create subgraph from selected nodes"
Be able to open a subgraph an edit it just like you would a normal shadergraph asset.
Perhaps subgraphs could result in hlsl generated functions that are placed in the generated shader?.
What have you tried?
Duplicating the setup 4 times.
Additional context
I know Laylad really wants to avoid adding another asset just for shadergraph subgraphs so perhaps having a .shdrgrph do double duty is the way to go?