How to create a node-based graph with Unity's standards?

There’s shader graph and vfx graph. I was wondering if this would be a commonly usable graph that one can use and customize and if so, where’s the starting point? Is it just a library with an API or is it proprietary?

All I can see is that vfx graph depends on shader graph. But shader graph has no dependencies. It would be very nice if the graph logic would be stripped out - unless it already is. And if it isn’t, am I allowed to strip it out myself and use it for a free asset, of course with the Unity companion license?

Same as you are not allowed publish existing assets, as your own, even are Unity tutorials, you are not allowed to use any part of Unity software, as an asset, unless is strictly required to publish an asset, to Asset Store, or otherwise mentioned.

Also, you most likely need license for source code.

If you need anything what Unity uses, just write reference to required packages, so user can download them via package manager.

Other than that, I suggest to read carefully Unity license.
I am not the lawyer.

You should look at GraphView

2 Likes

Oh that’s awesome, thank you very much! :slight_smile:

1 Like

@karl_jones Nice to see MIT licence.

However, what is current licence on Shader Graph?
There is description in this repo.

Does Shader Graph also is MIT?

1 Like

My understanding is it uses the Unity Companion Licence
https://github.com/Unity-Technologies/ShaderGraph/blob/master/LICENSE.md
https://github.com/Unity-Technologies/ScriptableRenderPipeline/blob/master/LICENSE.md

https://unity3d.com/legal/licenses/Unity_Companion_License

The MIT example https://github.com/rygo6/GraphViewExample is not made by us, its just one I found :wink:

2 Likes

Reading through Unity Companion-License

While Companion License permits for range of derived works, my understanding is, MIT license can not be derived from related license. They are not interchangeable.

However, I think, as long CL is included and and MIT removed, and code is used within Unity related projects, it should be fine.