summaryrefslogtreecommitdiffstats
path: root/globals.cginc
diff options
context:
space:
mode:
authoryum <yum.food.vr@gmail.com>2025-12-16 18:06:44 -0800
committeryum <yum.food.vr@gmail.com>2025-12-16 18:06:44 -0800
commita14e29b37e95352d35ba7c8763e2d0fc9fb66803 (patch)
tree4e50cb9550ed143cfc71c2d014e6549eb703c681 /globals.cginc
parentf3c47133a947581299b1f5a8b82e7233711f096a (diff)
wip, trying to unwrap the torus
Diffstat (limited to 'globals.cginc')
-rw-r--r--globals.cginc43
1 files changed, 27 insertions, 16 deletions
diff --git a/globals.cginc b/globals.cginc
index 54f58f2..b5d6b21 100644
--- a/globals.cginc
+++ b/globals.cginc
@@ -75,22 +75,33 @@ float3 _Cloth_Sheen_Color;
texture2D _Cloth_Sheen_DFG_LUT;
#endif // _CLOTH_SHEEN
-#if defined(_VERTEX_DEFORMATION_XY_UNTUBE)
-float _Vertex_Deformation_XY_Untube_t;
-#endif // _VERTEX_DEFORMATION_XY_UNTUBE
-#if defined(_VERTEX_DEFORMATION_XZ_UNTUBE)
-float _Vertex_Deformation_XZ_Untube_t;
-#endif // _VERTEX_DEFORMATION_XZ_UNTUBE
-#if defined(_VERTEX_DEFORMATION_YZ_UNTUBE)
-float _Vertex_Deformation_YZ_Untube_t;
-#endif // _VERTEX_DEFORMATION_YZ_UNTUBE
-
-#if defined(_VERTEX_DEFORMATION_PLANE_TO_TUBE)
-float3 _Vertex_Deformation_Plane_To_Tube_p;
-float3 _Vertex_Deformation_Plane_To_Tube_r;
-float3 _Vertex_Deformation_Plane_To_Tube_s;
-float _Vertex_Deformation_Plane_To_Tube_t;
-#endif // _VERTEX_DEFORMATION_PLANE_TO_TUBE
+#if defined(_VERTEX_DEFORMATION_TUBE_TO_PLANE_0)
+float3 _Vertex_Deformation_Tube_To_Plane_0_p;
+float3 _Vertex_Deformation_Tube_To_Plane_0_r;
+float3 _Vertex_Deformation_Tube_To_Plane_0_s;
+float _Vertex_Deformation_Tube_To_Plane_0_t;
+#endif // _VERTEX_DEFORMATION_TUBE_TO_PLANE_0
+
+#if defined(_VERTEX_DEFORMATION_TUBE_TO_PLANE_1)
+float3 _Vertex_Deformation_Tube_To_Plane_1_p;
+float3 _Vertex_Deformation_Tube_To_Plane_1_r;
+float3 _Vertex_Deformation_Tube_To_Plane_1_s;
+float _Vertex_Deformation_Tube_To_Plane_1_t;
+#endif // _VERTEX_DEFORMATION_TUBE_TO_PLANE_1
+
+#if defined(_VERTEX_DEFORMATION_PLANE_TO_TUBE_0)
+float3 _Vertex_Deformation_Plane_To_Tube_0_p;
+float3 _Vertex_Deformation_Plane_To_Tube_0_r;
+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_PLANE_TO_TUBE_1)
+float3 _Vertex_Deformation_Plane_To_Tube_1_p;
+float3 _Vertex_Deformation_Plane_To_Tube_1_r;
+float3 _Vertex_Deformation_Plane_To_Tube_1_s;
+float _Vertex_Deformation_Plane_To_Tube_1_t;
+#endif // _VERTEX_DEFORMATION_PLANE_TO_TUBE_1
#if defined(_VERTEX_DEFORMATION_NORM_CONVERSION)
float _Vertex_Deformation_Norm_Conversion_Input_k;