From e70d2cb317295571c57abd229846424754dff937 Mon Sep 17 00:00:00 2001 From: yum Date: Thu, 25 Dec 2025 13:09:39 -0800 Subject: more vertex deformation tweaks; unwrapping the donut --- globals.cginc | 19 +++++++++++++------ 1 file changed, 13 insertions(+), 6 deletions(-) (limited to 'globals.cginc') diff --git a/globals.cginc b/globals.cginc index c096e89..ddb126c 100644 --- a/globals.cginc +++ b/globals.cginc @@ -103,12 +103,19 @@ float3 _Vertex_Deformation_Plane_To_Tube_0_s; float _Vertex_Deformation_Plane_To_Tube_0_t; #endif // _VERTEX_DEFORMATION_PLANE_TO_TUBE_0 -#if defined(_VERTEX_DEFORMATION_POINT_ALIGN) -float3 _Vertex_Deformation_Point_Align_po; -float3 _Vertex_Deformation_Point_Align_pp; -float3 _Vertex_Deformation_Point_Align_r; -float _Vertex_Deformation_Point_Align_t; -#endif // _VERTEX_DEFORMATION_POINT_ALIGN +#if defined(_VERTEX_DEFORMATION_POINT_ALIGN_0) +float3 _Vertex_Deformation_Point_Align_0_po; +float3 _Vertex_Deformation_Point_Align_0_pp; +float3 _Vertex_Deformation_Point_Align_0_r; +float _Vertex_Deformation_Point_Align_0_t; +#endif // _VERTEX_DEFORMATION_POINT_ALIGN_0 + +#if defined(_VERTEX_DEFORMATION_POINT_ALIGN_1) +float3 _Vertex_Deformation_Point_Align_1_po; +float3 _Vertex_Deformation_Point_Align_1_pp; +float3 _Vertex_Deformation_Point_Align_1_r; +float _Vertex_Deformation_Point_Align_1_t; +#endif // _VERTEX_DEFORMATION_POINT_ALIGN_1 #if defined(_VERTEX_DEFORMATION_PLANE_TO_TUBE_1) float3 _Vertex_Deformation_Plane_To_Tube_1_p; -- cgit v1.2.3