Fix regression from #3214 on Deformable shader

This commit is contained in:
Wojtek Figat
2025-02-28 15:18:29 +01:00
parent 7885590593
commit 7ccae0140b

View File

@@ -210,7 +210,7 @@ float3 GetObjectSize(MaterialInput input)
// Gets the current object scale (supports instancing)
float3 GetObjectScale(MaterialInput input)
{
float4x4 world = input.Object.WorldMatrix;
float4x4 world = WorldMatrix;
// Extract scale from the world matrix
float3 scale;