summaryrefslogtreecommitdiffstats
path: root/3ner.shader
diff options
context:
space:
mode:
authoryum <yum.food.vr@gmail.com>2025-11-02 09:19:50 -0800
committeryum <yum.food.vr@gmail.com>2025-11-02 09:19:50 -0800
commit93f27e3a8545fef6ccc293d033e5f422ed821215 (patch)
tree0aa80b3bbd40e9fa8c7ffbddeb523df46c90002a /3ner.shader
parentea09e3e5425d935ed9dd277c0f1a7488033d2ede (diff)
generalize norm conversion code
Diffstat (limited to '3ner.shader')
-rw-r--r--3ner.shader12
1 files changed, 7 insertions, 5 deletions
diff --git a/3ner.shader b/3ner.shader
index e3b9ae9..f84b3fe 100644
--- a/3ner.shader
+++ b/3ner.shader
@@ -117,11 +117,13 @@ Shader "yum_food/3ner"
[HideInInspector] m_end_Vertex_Deformation_Tubes("Tubes", Float) = 0
//endex
- //ifex _Vertex_Deformation_L2_Linf_Enabled==0
- [HideInInspector] m_start_Vertex_Deformation_L2_Linf("L2 -> L inf", Float) = 0
- [ThryToggle(_VERTEX_DEFORMATION_L2_LINF)] _Vertex_Deformation_L2_Linf_Enabled("Enable", Float) = 0
- _Vertex_Deformation_L2_Linf_t("t", Range(0,1)) = 0
- [HideInInspector] m_end_Vertex_Deformation_L2_Linf("L2 -> L inf", Float) = 0
+ //ifex _Vertex_Deformation_Norm_Conversion_Enabled==0
+ [HideInInspector] m_start_Vertex_Deformation_Norm_Conversion("Norm Conversion", Float) = 0
+ [ThryToggle(_VERTEX_DEFORMATION_NORM_CONVERSION)] _Vertex_Deformation_Norm_Conversion_Enabled("Enable", Float) = 0
+ _Vertex_Deformation_Norm_Conversion_Input_k("Input norm", Range(-10, 10)) = 2
+ _Vertex_Deformation_Norm_Conversion_Output_k("Output norm", Range(-10, 10)) = 1
+ _Vertex_Deformation_Norm_Conversion_t("t", Range(0,1)) = 0
+ [HideInInspector] m_end_Vertex_Deformation_Norm_Conversion("Norm Conversion", Float) = 0
//endex
//ifex _Vertex_Deformation_Seal_Enabled==0