summaryrefslogtreecommitdiffstats
path: root/3ner.shader
diff options
context:
space:
mode:
authoryum <yum.food.vr@gmail.com>2026-03-07 16:04:04 -0800
committeryum <yum.food.vr@gmail.com>2026-03-07 16:04:04 -0800
commit94a91e950a02958488b4a223fab8f436d924f7de (patch)
treec6d77ea32de6347f4f0f482bd07984d6c8a189d3 /3ner.shader
parenta4b006dc873906d30f32eef15d730c31bb6bd608 (diff)
Add sdf mode to decals
Diffstat (limited to '3ner.shader')
-rwxr-xr-x3ner.shader64
1 files changed, 64 insertions, 0 deletions
diff --git a/3ner.shader b/3ner.shader
index 11bc32f..31504e0 100755
--- a/3ner.shader
+++ b/3ner.shader
@@ -99,6 +99,14 @@ Shader "yum_food/3ner"
_Decal0_Rotation("Rotation", Range(-0.5, 0.5)) = 0
[HideInInspector] m_end_Decal0_Rotation("Rotation", Float) = 0
//endex
+
+ //ifex _Decal0_SDF_Enabled==0
+ [HideInInspector] m_start_Decal0_SDF("SDF", Float) = 0
+ [ThryToggle(_DECAL0_SDF)] _Decal0_SDF_Enabled("Enable", Float) = 0
+ _Decal0_SDF_Threshold("Threshold", Range(0, 1)) = 0.5
+ [ThryToggle(_DECAL0_SDF_INVERT)] _Decal0_SDF_Invert("Invert", Float) = 0
+ [HideInInspector] m_end_Decal0_SDF("SDF", Float) = 0
+ //endex
[HideInInspector] m_end_Decal0("Decal 0", Float) = 0
//endex
@@ -135,6 +143,14 @@ Shader "yum_food/3ner"
_Decal1_Rotation("Rotation", Range(-0.5, 0.5)) = 0
[HideInInspector] m_end_Decal1_Rotation("Rotation", Float) = 0
//endex
+
+ //ifex _Decal1_SDF_Enabled==0
+ [HideInInspector] m_start_Decal1_SDF("SDF", Float) = 0
+ [ThryToggle(_DECAL1_SDF)] _Decal1_SDF_Enabled("Enable", Float) = 0
+ _Decal1_SDF_Threshold("Threshold", Range(0, 1)) = 0.5
+ [ThryToggle(_DECAL1_SDF_INVERT)] _Decal1_SDF_Invert("Invert", Float) = 0
+ [HideInInspector] m_end_Decal1_SDF("SDF", Float) = 0
+ //endex
[HideInInspector] m_end_Decal1("Decal 1", Float) = 0
//endex
@@ -171,6 +187,14 @@ Shader "yum_food/3ner"
_Decal2_Rotation("Rotation", Range(-0.5, 0.5)) = 0
[HideInInspector] m_end_Decal2_Rotation("Rotation", Float) = 0
//endex
+
+ //ifex _Decal2_SDF_Enabled==0
+ [HideInInspector] m_start_Decal2_SDF("SDF", Float) = 0
+ [ThryToggle(_DECAL2_SDF)] _Decal2_SDF_Enabled("Enable", Float) = 0
+ _Decal2_SDF_Threshold("Threshold", Range(0, 1)) = 0.5
+ [ThryToggle(_DECAL2_SDF_INVERT)] _Decal2_SDF_Invert("Invert", Float) = 0
+ [HideInInspector] m_end_Decal2_SDF("SDF", Float) = 0
+ //endex
[HideInInspector] m_end_Decal2("Decal 2", Float) = 0
//endex
@@ -207,6 +231,14 @@ Shader "yum_food/3ner"
_Decal3_Rotation("Rotation", Range(-0.5, 0.5)) = 0
[HideInInspector] m_end_Decal3_Rotation("Rotation", Float) = 0
//endex
+
+ //ifex _Decal3_SDF_Enabled==0
+ [HideInInspector] m_start_Decal3_SDF("SDF", Float) = 0
+ [ThryToggle(_DECAL3_SDF)] _Decal3_SDF_Enabled("Enable", Float) = 0
+ _Decal3_SDF_Threshold("Threshold", Range(0, 1)) = 0.5
+ [ThryToggle(_DECAL3_SDF_INVERT)] _Decal3_SDF_Invert("Invert", Float) = 0
+ [HideInInspector] m_end_Decal3_SDF("SDF", Float) = 0
+ //endex
[HideInInspector] m_end_Decal3("Decal 3", Float) = 0
//endex
@@ -243,6 +275,14 @@ Shader "yum_food/3ner"
_Decal4_Rotation("Rotation", Range(-0.5, 0.5)) = 0
[HideInInspector] m_end_Decal4_Rotation("Rotation", Float) = 0
//endex
+
+ //ifex _Decal4_SDF_Enabled==0
+ [HideInInspector] m_start_Decal4_SDF("SDF", Float) = 0
+ [ThryToggle(_DECAL4_SDF)] _Decal4_SDF_Enabled("Enable", Float) = 0
+ _Decal4_SDF_Threshold("Threshold", Range(0, 1)) = 0.5
+ [ThryToggle(_DECAL4_SDF_INVERT)] _Decal4_SDF_Invert("Invert", Float) = 0
+ [HideInInspector] m_end_Decal4_SDF("SDF", Float) = 0
+ //endex
[HideInInspector] m_end_Decal4("Decal 4", Float) = 0
//endex
@@ -279,6 +319,14 @@ Shader "yum_food/3ner"
_Decal5_Rotation("Rotation", Range(-0.5, 0.5)) = 0
[HideInInspector] m_end_Decal5_Rotation("Rotation", Float) = 0
//endex
+
+ //ifex _Decal5_SDF_Enabled==0
+ [HideInInspector] m_start_Decal5_SDF("SDF", Float) = 0
+ [ThryToggle(_DECAL5_SDF)] _Decal5_SDF_Enabled("Enable", Float) = 0
+ _Decal5_SDF_Threshold("Threshold", Range(0, 1)) = 0.5
+ [ThryToggle(_DECAL5_SDF_INVERT)] _Decal5_SDF_Invert("Invert", Float) = 0
+ [HideInInspector] m_end_Decal5_SDF("SDF", Float) = 0
+ //endex
[HideInInspector] m_end_Decal5("Decal 5", Float) = 0
//endex
@@ -315,6 +363,14 @@ Shader "yum_food/3ner"
_Decal6_Rotation("Rotation", Range(-0.5, 0.5)) = 0
[HideInInspector] m_end_Decal6_Rotation("Rotation", Float) = 0
//endex
+
+ //ifex _Decal6_SDF_Enabled==0
+ [HideInInspector] m_start_Decal6_SDF("SDF", Float) = 0
+ [ThryToggle(_DECAL6_SDF)] _Decal6_SDF_Enabled("Enable", Float) = 0
+ _Decal6_SDF_Threshold("Threshold", Range(0, 1)) = 0.5
+ [ThryToggle(_DECAL6_SDF_INVERT)] _Decal6_SDF_Invert("Invert", Float) = 0
+ [HideInInspector] m_end_Decal6_SDF("SDF", Float) = 0
+ //endex
[HideInInspector] m_end_Decal6("Decal 6", Float) = 0
//endex
@@ -351,6 +407,14 @@ Shader "yum_food/3ner"
_Decal7_Rotation("Rotation", Range(-0.5, 0.5)) = 0
[HideInInspector] m_end_Decal7_Rotation("Rotation", Float) = 0
//endex
+
+ //ifex _Decal7_SDF_Enabled==0
+ [HideInInspector] m_start_Decal7_SDF("SDF", Float) = 0
+ [ThryToggle(_DECAL7_SDF)] _Decal7_SDF_Enabled("Enable", Float) = 0
+ _Decal7_SDF_Threshold("Threshold", Range(0, 1)) = 0.5
+ [ThryToggle(_DECAL7_SDF_INVERT)] _Decal7_SDF_Invert("Invert", Float) = 0
+ [HideInInspector] m_end_Decal7_SDF("SDF", Float) = 0
+ //endex
[HideInInspector] m_end_Decal7("Decal 7", Float) = 0
//endex
[HideInInspector] m_end_Decals("Decals", Float) = 0