Fix using material VS to PS node directly within material input

This commit is contained in:
Wojtek Figat
2025-07-03 20:32:41 +02:00
parent da08be42b4
commit 85aed8c4d7

View File

@@ -10,6 +10,10 @@ void MaterialGenerator::ProcessGroupMaterial(Box* box, Node* node, Value& value)
{
switch (node->TypeID)
{
// Material
case 1:
value = tryGetValue(box, Value::Zero);
break;
// World Position
case 2:
value = Value(VariantType::Float3, TEXT("input.WorldPosition.xyz"));