0

Bezier Curve Graph Node

behealed 8 лет назад обновлен 8 лет назад 1

Would be nice to have a curve graph node.


Clicking on / opening this node would expand a editable graph such as this one (the image below is from the Unity Tree Creator):


I suppose this node would work like a lerp, with two inputs, and a value [t], but it would interpolate between the two inputs according to the curvature of the graph.


I suggest looking at the Unity Tree Creator to see an example of these curve graphs as they are quite fancy. Something like this in shader forge would be totally epic.


Image 675

Actually since this is part of Unity, the code for a graph like this may already be built in. A quick google search found me this: https://docs.unity3d.com/ScriptReference/EditorGUI.CurveField.html

Сервис поддержки клиентов работает на платформе UserEcho