From 767854a2af6c101b08287e601cd5ab9fbfd25881 Mon Sep 17 00:00:00 2001 From: Wojtek Figat Date: Mon, 30 Mar 2026 10:18:15 +0200 Subject: [PATCH] Fix shader error when using Position Offset in deformable material #4028 --- Content/Editor/MaterialTemplates/Deformable.shader | 1 - 1 file changed, 1 deletion(-) diff --git a/Content/Editor/MaterialTemplates/Deformable.shader b/Content/Editor/MaterialTemplates/Deformable.shader index acc303e9d..4de948d28 100644 --- a/Content/Editor/MaterialTemplates/Deformable.shader +++ b/Content/Editor/MaterialTemplates/Deformable.shader @@ -337,7 +337,6 @@ VertexOutput VS_SplineModel(ModelInput input) // Apply world position offset per-vertex #if USE_POSITION_OFFSET output.Geometry.WorldPosition += material.PositionOffset; - output.Geometry.PrevWorldPosition += material.PositionOffset; output.Position = mul(float4(output.Geometry.WorldPosition, 1), ViewProjectionMatrix); #endif