Add **Sample Global SDF** node to particles

This commit is contained in:
Wojciech Figat
2022-03-25 11:41:17 +01:00
parent f8670a497e
commit 4a18185e81
5 changed files with 18 additions and 3 deletions

View File

@@ -363,7 +363,7 @@ namespace FlaxEditor.Surface.Archetypes
TypeID = 14,
Title = "Sample Global SDF",
Description = "Samples the Global SDF to get the distance to the closest surface (in world-space). Requires models SDF to be generated and checking `Enable Global SDF` in Graphics Settings.",
Flags = NodeFlags.MaterialGraph,
Flags = NodeFlags.MaterialGraph | NodeFlags.ParticleEmitterGraph,
Size = new Vector2(200, 20),
Elements = new[]
{