summaryrefslogtreecommitdiffstats
path: root/globals.cginc
diff options
context:
space:
mode:
authoryum <yum.food.vr@gmail.com>2025-12-25 13:09:39 -0800
committeryum <yum.food.vr@gmail.com>2025-12-25 13:09:39 -0800
commite70d2cb317295571c57abd229846424754dff937 (patch)
tree8640003cd7dde0a6cf6d41d697141c3373f11ed0 /globals.cginc
parentf7c5e546c220f0f7be8ec3a9cccdb4641114cfe1 (diff)
more vertex deformation tweaks; unwrapping the donut
Diffstat (limited to 'globals.cginc')
-rw-r--r--globals.cginc19
1 files changed, 13 insertions, 6 deletions
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;