Fix World Triplanar Texture node to support displacement and float4 value
This commit is contained in:
@@ -404,9 +404,9 @@ namespace FlaxEditor.Surface.Archetypes
|
||||
Elements = new[]
|
||||
{
|
||||
NodeElementArchetype.Factory.Input(0, "Texture", true, typeof(FlaxEngine.Object), 0),
|
||||
NodeElementArchetype.Factory.Input(1, "Scale", true, typeof(Float3), 1, 0),
|
||||
NodeElementArchetype.Factory.Input(1, "Scale", true, typeof(Float4), 1, 0),
|
||||
NodeElementArchetype.Factory.Input(2, "Blend", true, typeof(float), 2, 1),
|
||||
NodeElementArchetype.Factory.Output(0, "Color", typeof(Float3), 3)
|
||||
NodeElementArchetype.Factory.Output(0, "Color", typeof(Float4), 3)
|
||||
}
|
||||
},
|
||||
new NodeArchetype
|
||||
|
||||
Reference in New Issue
Block a user