summaryrefslogtreecommitdiffstats
path: root/3ner.shader
diff options
context:
space:
mode:
authoryum <yum.food.vr@gmail.com>2025-12-17 16:48:23 -0800
committeryum <yum.food.vr@gmail.com>2025-12-17 16:48:23 -0800
commit32adb54e347faa86c63639a102930fe874808e39 (patch)
treefc06980b77b6ced2a85f016996df92522335670e /3ner.shader
parent3fa58d15452657fdf28ccecd4a87332e9652c9fa (diff)
add "axis align" feature to fix distortion after unbending the tube
Diffstat (limited to '3ner.shader')
-rw-r--r--3ner.shader10
1 files changed, 10 insertions, 0 deletions
diff --git a/3ner.shader b/3ner.shader
index 766091c..eadde89 100644
--- a/3ner.shader
+++ b/3ner.shader
@@ -193,6 +193,16 @@ Shader "yum_food/3ner"
[HideInInspector] m_end_Vertex_Deformation_Tube_To_Plane_0("Tube to Plane 0", Float) = 0
//endex
+ //ifex _Vertex_Deformation_Axis_Align_Enabled==0
+ [HideInInspector] m_start_Vertex_Deformation_Axis_Align("Axis Align", Float) = 0
+ [ThryToggle(_VERTEX_DEFORMATION_AXIS_ALIGN)] _Vertex_Deformation_Axis_Align_Enabled("Enable", Float) = 0
+ _Vertex_Deformation_Axis_Align_po("po", Vector) = (0, 0, 0)
+ _Vertex_Deformation_Axis_Align_pp("pp", Vector) = (0, 0, 1)
+ _Vertex_Deformation_Axis_Align_r("r", Vector) = (0, 1, 0)
+ _Vertex_Deformation_Axis_Align_t("t", Range(0,1)) = 0
+ [HideInInspector] m_end_Vertex_Deformation_Axis_Align("Axis Align", Float) = 0
+ //endex
+
//ifex _Vertex_Deformation_Tube_To_Plane_1_Enabled==0
[HideInInspector] m_start_Vertex_Deformation_Tube_To_Plane_1("Tube to Plane 1", Float) = 0
[ThryToggle(_VERTEX_DEFORMATION_TUBE_TO_PLANE_1)] _Vertex_Deformation_Tube_To_Plane_1_Enabled("Enable", Float) = 0