Updated description & comments

This commit is contained in:
Olly Rybak
2022-12-26 20:44:53 +11:00
parent bba136c9fe
commit a2f52edd47
2 changed files with 3 additions and 3 deletions

View File

@@ -408,8 +408,8 @@ namespace FlaxEditor.Surface.Archetypes
new NodeArchetype new NodeArchetype
{ {
TypeID = 17, TypeID = 17,
Title = "Stochastic Sample Texture", Title = "Procedural Sample Texture",
Description = "Projects a texture using world-space coordinates instead of UVs.", Description = "Samples a texture to create a more natural look with less obvious tiling.",
Flags = NodeFlags.MaterialGraph, Flags = NodeFlags.MaterialGraph,
Size = new Float2(240, 60), Size = new Float2(240, 60),
DefaultValues = new object[] DefaultValues = new object[]

View File

@@ -669,7 +669,7 @@ void MaterialGenerator::ProcessGroupTextures(Box* box, Node* node, Value& value)
_writer.Write(*triplanarTexture); _writer.Write(*triplanarTexture);
value = result; value = result;
} }
// Stochastic Texture Sample // Procedural Texture Sample
case 17: case 17:
{ {
auto textureBox = node->GetBox(0); auto textureBox = node->GetBox(0);