From f8102fd756d89476336f9a3a69e9bf8fbc6aa4b7 Mon Sep 17 00:00:00 2001 From: yum Date: Wed, 17 Dec 2025 17:14:11 -0800 Subject: add point align feature, aka inverse of axis align --- globals.cginc | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'globals.cginc') diff --git a/globals.cginc b/globals.cginc index 21d9889..f872847 100644 --- a/globals.cginc +++ b/globals.cginc @@ -103,6 +103,13 @@ 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_PLANE_TO_TUBE_1) float3 _Vertex_Deformation_Plane_To_Tube_1_p; float3 _Vertex_Deformation_Plane_To_Tube_1_r; -- cgit v1.2.3