Added blackbody

This commit is contained in:
W2.Wizard
2021-01-30 23:21:41 +01:00
parent bd18286fbd
commit e75ca148c0
2 changed files with 22 additions and 1 deletions

View File

@@ -805,9 +805,13 @@ namespace FlaxEditor.Surface.Archetypes
Description = "Simulates black body radiation via a given temperature in kelvin",
Flags = NodeFlags.MaterialGraph,
Size = new Vector2(120, 25),
DefaultValues = new object[]
{
0.0f,
},
Elements = new[]
{
NodeElementArchetype.Factory.Input(0, "Temp", true, typeof(float), 0),
NodeElementArchetype.Factory.Input(0, "Temp", true, typeof(float), 0, 0),
NodeElementArchetype.Factory.Output(0, string.Empty, typeof(Vector3), 1),
}
},