Add Mask ZW node to all Visject surfaces

This commit is contained in:
Wojtek Figat
2021-02-23 13:57:34 +01:00
parent d01365d416
commit 24d31d024d
3 changed files with 26 additions and 0 deletions

View File

@@ -533,6 +533,12 @@ void VisjectExecutor::ProcessGroupPacking(Box* box, Node* node, Value& value)
const Vector4 v = (Vector4)tryGetValue(node->GetBox(0), Vector4::Zero);
value = Vector2(v.Y, v.Z);
break;
}
case 47:
{
const Vector4 v = (Vector4)tryGetValue(node->GetBox(0), Vector4::Zero);
value = Vector2(v.Z, v.W);
break;
}
// Mask XYZ
case 70: