Add HSVToRGB
This commit is contained in:
@@ -815,6 +815,23 @@ namespace FlaxEditor.Surface.Archetypes
|
||||
NodeElementArchetype.Factory.Output(0, string.Empty, typeof(Vector3), 1),
|
||||
}
|
||||
},
|
||||
new NodeArchetype
|
||||
{
|
||||
TypeID = 36,
|
||||
Title = "HSVToRGB",
|
||||
Description = "Converts a HSV value to linear RGB",
|
||||
Flags = NodeFlags.MaterialGraph,
|
||||
Size = new Vector2(160, 25),
|
||||
DefaultValues = new object[]
|
||||
{
|
||||
new Vector3(240, 1, 1),
|
||||
},
|
||||
Elements = new[]
|
||||
{
|
||||
NodeElementArchetype.Factory.Input(0, "HSV", true, typeof(Vector3), 0, 0),
|
||||
NodeElementArchetype.Factory.Output(0, "RGB", typeof(Vector3), 1),
|
||||
}
|
||||
}
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user