summaryrefslogtreecommitdiffstats
path: root/features.cginc
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 /features.cginc
parent3fa58d15452657fdf28ccecd4a87332e9652c9fa (diff)
add "axis align" feature to fix distortion after unbending the tube
Diffstat (limited to 'features.cginc')
-rw-r--r--features.cginc1
1 files changed, 1 insertions, 0 deletions
diff --git a/features.cginc b/features.cginc
index 71fb9b6..6dbff87 100644
--- a/features.cginc
+++ b/features.cginc
@@ -40,6 +40,7 @@
//ifex _Vertex_Deformation_Tubes_Enabled==0
#pragma shader_feature_local _VERTEX_DEFORMATION_TUBES
#pragma shader_feature_local _VERTEX_DEFORMATION_TUBE_TO_PLANE_0
+#pragma shader_feature_local _VERTEX_DEFORMATION_AXIS_ALIGN
#pragma shader_feature_local _VERTEX_DEFORMATION_TUBE_TO_PLANE_1
#pragma shader_feature_local _VERTEX_DEFORMATION_PLANE_TO_TUBE_0
#pragma shader_feature_local _VERTEX_DEFORMATION_PLANE_TO_TUBE_1