yum/3ner

A toon shader for Unity's BIRP.

git clone https://git.yummers.dev/yum/3ner

yumrandom touchups idk i just got hereecd59e8

master
96.7 KiB1569 linesraw
1Shader "yum_food/3ner"
2{
3  // Certain parts of the Properties below are derived from Poiyomi's toon
4  // shader. The license is available in this repository at the top of
5  // poi.cginc. C.
6	Properties
7  {
8      [HideInInspector] shader_master_label("<color=#de719bff>2ner</color>", Float) = 0
9      [HideInInspector] shader_is_using_thry_editor("", Float) = 0
10      [HideInInspector] shader_presets("ThryPresetsExample", Float) = 0
11      [HideInInspector] shader_properties_label_file("ThryLabelExample", Float) = 0
12
13      //ifex _ShaderOptimizerEnabled==0
14      [HideInInspector] _ForgotToLockMaterial(";;YOU_FORGOT_TO_LOCK_THE_MATERIAL;", Int) = 0
15      //endex
16      [ThryShaderOptimizerLockButton] _ShaderOptimizerEnabled("", Int) = 0
17
18      [ThryWideEnum(Opaque, 0, Cutout, 1, TransClipping, 9, Fade, 2, Transparent, 3, Additive, 4, Soft Additive, 5, Multiplicative, 6, 2x Multiplicative, 7)]_Mode("Rendering Preset--{on_value_actions:[
19      {value:0,actions:[{type:SET_PROPERTY,data:render_queue=2000},{type:SET_PROPERTY,data:_AlphaForceOpaque=1}, {type:SET_PROPERTY,data:render_type=Opaque},            {type:SET_PROPERTY,data:_BlendOp=0}, {type:SET_PROPERTY,data:_BlendOpAlpha=4}, {type:SET_PROPERTY,data:_Cutoff=0},  {type:SET_PROPERTY,data:_SrcBlend=1}, {type:SET_PROPERTY,data:_DstBlend=0},  {type:SET_PROPERTY,data:_SrcBlendAlpha=1}, {type:SET_PROPERTY,data:_DstBlendAlpha=1},  {type:SET_PROPERTY,data:_AddSrcBlend=1}, {type:SET_PROPERTY,data:_AddDstBlend=1}, {type:SET_PROPERTY,data:_AddSrcBlendAlpha=0}, {type:SET_PROPERTY,data:_AddDstBlendAlpha=1}, {type:SET_PROPERTY,data:_AlphaToCoverage=0},  {type:SET_PROPERTY,data:_ZWrite=1}, {type:SET_PROPERTY,data:_ZTest=4},   {type:SET_PROPERTY,data:_AlphaPremultiply=0}, {type:SET_PROPERTY,data:_OutlineSrcBlend=1}, {type:SET_PROPERTY,data:_OutlineDstBlend=0},  {type:SET_PROPERTY,data:_OutlineSrcBlendAlpha=1}, {type:SET_PROPERTY,data:_OutlineDstBlendAlpha=0}, {type:SET_PROPERTY,data:_OutlineBlendOp=0}, {type:SET_PROPERTY,data:_OutlineBlendOpAlpha=4}]},
20      {value:1,actions:[{type:SET_PROPERTY,data:render_queue=2450},{type:SET_PROPERTY,data:_AlphaForceOpaque=0}, {type:SET_PROPERTY,data:render_type=TransparentCutout}, {type:SET_PROPERTY,data:_BlendOp=0}, {type:SET_PROPERTY,data:_BlendOpAlpha=4}, {type:SET_PROPERTY,data:_Cutoff=.5}, {type:SET_PROPERTY,data:_SrcBlend=1}, {type:SET_PROPERTY,data:_DstBlend=0},  {type:SET_PROPERTY,data:_SrcBlendAlpha=1}, {type:SET_PROPERTY,data:_DstBlendAlpha=1},  {type:SET_PROPERTY,data:_AddSrcBlend=1}, {type:SET_PROPERTY,data:_AddDstBlend=1}, {type:SET_PROPERTY,data:_AddSrcBlendAlpha=0}, {type:SET_PROPERTY,data:_AddDstBlendAlpha=1}, {type:SET_PROPERTY,data:_AlphaToCoverage=0},  {type:SET_PROPERTY,data:_ZWrite=1}, {type:SET_PROPERTY,data:_ZTest=4},   {type:SET_PROPERTY,data:_AlphaPremultiply=0}, {type:SET_PROPERTY,data:_OutlineSrcBlend=1}, {type:SET_PROPERTY,data:_OutlineDstBlend=0},  {type:SET_PROPERTY,data:_OutlineSrcBlendAlpha=1}, {type:SET_PROPERTY,data:_OutlineDstBlendAlpha=1}, {type:SET_PROPERTY,data:_OutlineBlendOp=0}, {type:SET_PROPERTY,data:_OutlineBlendOpAlpha=4}]},
21      {value:9,actions:[{type:SET_PROPERTY,data:render_queue=2460},{type:SET_PROPERTY,data:_AlphaForceOpaque=0}, {type:SET_PROPERTY,data:render_type=TransparentCutout}, {type:SET_PROPERTY,data:_BlendOp=0}, {type:SET_PROPERTY,data:_BlendOpAlpha=4}, {type:SET_PROPERTY,data:_Cutoff=0.01},  {type:SET_PROPERTY,data:_SrcBlend=5}, {type:SET_PROPERTY,data:_DstBlend=10}, {type:SET_PROPERTY,data:_SrcBlendAlpha=1}, {type:SET_PROPERTY,data:_DstBlendAlpha=1},  {type:SET_PROPERTY,data:_AddSrcBlend=5}, {type:SET_PROPERTY,data:_AddDstBlend=1}, {type:SET_PROPERTY,data:_AddSrcBlendAlpha=0}, {type:SET_PROPERTY,data:_AddDstBlendAlpha=1}, {type:SET_PROPERTY,data:_AlphaToCoverage=0},  {type:SET_PROPERTY,data:_ZWrite=1}, {type:SET_PROPERTY,data:_ZTest=4},   {type:SET_PROPERTY,data:_AlphaPremultiply=0}, {type:SET_PROPERTY,data:_OutlineSrcBlend=5}, {type:SET_PROPERTY,data:_OutlineDstBlend=10}, {type:SET_PROPERTY,data:_OutlineSrcBlendAlpha=1}, {type:SET_PROPERTY,data:_OutlineDstBlendAlpha=1}, {type:SET_PROPERTY,data:_OutlineBlendOp=0}, {type:SET_PROPERTY,data:_OutlineBlendOpAlpha=4}]},
22      {value:2,actions:[{type:SET_PROPERTY,data:render_queue=3000},{type:SET_PROPERTY,data:_AlphaForceOpaque=0}, {type:SET_PROPERTY,data:render_type=Transparent},       {type:SET_PROPERTY,data:_BlendOp=0}, {type:SET_PROPERTY,data:_BlendOpAlpha=4}, {type:SET_PROPERTY,data:_Cutoff=0.002},  {type:SET_PROPERTY,data:_SrcBlend=5}, {type:SET_PROPERTY,data:_DstBlend=10}, {type:SET_PROPERTY,data:_SrcBlendAlpha=1}, {type:SET_PROPERTY,data:_DstBlendAlpha=1},  {type:SET_PROPERTY,data:_AddSrcBlend=5}, {type:SET_PROPERTY,data:_AddDstBlend=1}, {type:SET_PROPERTY,data:_AddSrcBlendAlpha=0}, {type:SET_PROPERTY,data:_AddDstBlendAlpha=1}, {type:SET_PROPERTY,data:_AlphaToCoverage=0},  {type:SET_PROPERTY,data:_ZWrite=0}, {type:SET_PROPERTY,data:_ZTest=4},   {type:SET_PROPERTY,data:_AlphaPremultiply=0}, {type:SET_PROPERTY,data:_OutlineSrcBlend=5}, {type:SET_PROPERTY,data:_OutlineDstBlend=10}, {type:SET_PROPERTY,data:_OutlineSrcBlendAlpha=1}, {type:SET_PROPERTY,data:_OutlineDstBlendAlpha=1}, {type:SET_PROPERTY,data:_OutlineBlendOp=0}, {type:SET_PROPERTY,data:_OutlineBlendOpAlpha=4}]},
23      {value:3,actions:[{type:SET_PROPERTY,data:render_queue=3000},{type:SET_PROPERTY,data:_AlphaForceOpaque=0}, {type:SET_PROPERTY,data:render_type=Transparent},       {type:SET_PROPERTY,data:_BlendOp=0}, {type:SET_PROPERTY,data:_BlendOpAlpha=4}, {type:SET_PROPERTY,data:_Cutoff=0},  {type:SET_PROPERTY,data:_SrcBlend=1}, {type:SET_PROPERTY,data:_DstBlend=10}, {type:SET_PROPERTY,data:_SrcBlendAlpha=1}, {type:SET_PROPERTY,data:_DstBlendAlpha=1},  {type:SET_PROPERTY,data:_AddSrcBlend=1}, {type:SET_PROPERTY,data:_AddDstBlend=1}, {type:SET_PROPERTY,data:_AddSrcBlendAlpha=0}, {type:SET_PROPERTY,data:_AddDstBlendAlpha=1}, {type:SET_PROPERTY,data:_AlphaToCoverage=0},  {type:SET_PROPERTY,data:_ZWrite=0}, {type:SET_PROPERTY,data:_ZTest=4},   {type:SET_PROPERTY,data:_AlphaPremultiply=1}, {type:SET_PROPERTY,data:_OutlineSrcBlend=1}, {type:SET_PROPERTY,data:_OutlineDstBlend=10}, {type:SET_PROPERTY,data:_OutlineSrcBlendAlpha=1}, {type:SET_PROPERTY,data:_OutlineDstBlendAlpha=1}, {type:SET_PROPERTY,data:_OutlineBlendOp=0}, {type:SET_PROPERTY,data:_OutlineBlendOpAlpha=4}]},
24      {value:4,actions:[{type:SET_PROPERTY,data:render_queue=3000},{type:SET_PROPERTY,data:_AlphaForceOpaque=0}, {type:SET_PROPERTY,data:render_type=Transparent},       {type:SET_PROPERTY,data:_BlendOp=0}, {type:SET_PROPERTY,data:_BlendOpAlpha=4}, {type:SET_PROPERTY,data:_Cutoff=0},  {type:SET_PROPERTY,data:_SrcBlend=1}, {type:SET_PROPERTY,data:_DstBlend=1},  {type:SET_PROPERTY,data:_SrcBlendAlpha=1}, {type:SET_PROPERTY,data:_DstBlendAlpha=1},  {type:SET_PROPERTY,data:_AddSrcBlend=1}, {type:SET_PROPERTY,data:_AddDstBlend=1}, {type:SET_PROPERTY,data:_AddSrcBlendAlpha=0}, {type:SET_PROPERTY,data:_AddDstBlendAlpha=1}, {type:SET_PROPERTY,data:_AlphaToCoverage=0},  {type:SET_PROPERTY,data:_ZWrite=0}, {type:SET_PROPERTY,data:_ZTest=4},   {type:SET_PROPERTY,data:_AlphaPremultiply=0}, {type:SET_PROPERTY,data:_OutlineSrcBlend=1}, {type:SET_PROPERTY,data:_OutlineDstBlend=1},  {type:SET_PROPERTY,data:_OutlineSrcBlendAlpha=1}, {type:SET_PROPERTY,data:_OutlineDstBlendAlpha=1}, {type:SET_PROPERTY,data:_OutlineBlendOp=0}, {type:SET_PROPERTY,data:_OutlineBlendOpAlpha=4}]},
25      {value:5,actions:[{type:SET_PROPERTY,data:render_queue=3000},{type:SET_PROPERTY,data:_AlphaForceOpaque=0}, {type:SET_PROPERTY,data:render_type=Transparent},       {type:SET_PROPERTY,data:_BlendOp=0}, {type:SET_PROPERTY,data:_BlendOpAlpha=4}, {type:SET_PROPERTY,data:_Cutoff=0},  {type:SET_PROPERTY,data:_SrcBlend=4}, {type:SET_PROPERTY,data:_DstBlend=1},  {type:SET_PROPERTY,data:_SrcBlendAlpha=1}, {type:SET_PROPERTY,data:_DstBlendAlpha=1},  {type:SET_PROPERTY,data:_AddSrcBlend=4}, {type:SET_PROPERTY,data:_AddDstBlend=1}, {type:SET_PROPERTY,data:_AddSrcBlendAlpha=0}, {type:SET_PROPERTY,data:_AddDstBlendAlpha=1}, {type:SET_PROPERTY,data:_AlphaToCoverage=0},  {type:SET_PROPERTY,data:_ZWrite=0}, {type:SET_PROPERTY,data:_ZTest=4},   {type:SET_PROPERTY,data:_AlphaPremultiply=0}, {type:SET_PROPERTY,data:_OutlineSrcBlend=4}, {type:SET_PROPERTY,data:_OutlineDstBlend=1},  {type:SET_PROPERTY,data:_OutlineSrcBlendAlpha=1}, {type:SET_PROPERTY,data:_OutlineDstBlendAlpha=1}, {type:SET_PROPERTY,data:_OutlineBlendOp=0}, {type:SET_PROPERTY,data:_OutlineBlendOpAlpha=4}]},
26      {value:6,actions:[{type:SET_PROPERTY,data:render_queue=3000},{type:SET_PROPERTY,data:_AlphaForceOpaque=0}, {type:SET_PROPERTY,data:render_type=Transparent},       {type:SET_PROPERTY,data:_BlendOp=0}, {type:SET_PROPERTY,data:_BlendOpAlpha=4}, {type:SET_PROPERTY,data:_Cutoff=0},  {type:SET_PROPERTY,data:_SrcBlend=2}, {type:SET_PROPERTY,data:_DstBlend=0},  {type:SET_PROPERTY,data:_SrcBlendAlpha=1}, {type:SET_PROPERTY,data:_DstBlendAlpha=1},  {type:SET_PROPERTY,data:_AddSrcBlend=2}, {type:SET_PROPERTY,data:_AddDstBlend=1}, {type:SET_PROPERTY,data:_AddSrcBlendAlpha=0}, {type:SET_PROPERTY,data:_AddDstBlendAlpha=1}, {type:SET_PROPERTY,data:_AlphaToCoverage=0},  {type:SET_PROPERTY,data:_ZWrite=0}, {type:SET_PROPERTY,data:_ZTest=4},   {type:SET_PROPERTY,data:_AlphaPremultiply=0}, {type:SET_PROPERTY,data:_OutlineSrcBlend=2}, {type:SET_PROPERTY,data:_OutlineDstBlend=0},  {type:SET_PROPERTY,data:_OutlineSrcBlendAlpha=1}, {type:SET_PROPERTY,data:_OutlineDstBlendAlpha=1}, {type:SET_PROPERTY,data:_OutlineBlendOp=0}, {type:SET_PROPERTY,data:_OutlineBlendOpAlpha=4}]},
27      {value:7,actions:[{type:SET_PROPERTY,data:render_queue=3000},{type:SET_PROPERTY,data:_AlphaForceOpaque=0}, {type:SET_PROPERTY,data:render_type=Transparent},       {type:SET_PROPERTY,data:_BlendOp=0}, {type:SET_PROPERTY,data:_BlendOpAlpha=4}, {type:SET_PROPERTY,data:_Cutoff=0},  {type:SET_PROPERTY,data:_SrcBlend=2}, {type:SET_PROPERTY,data:_DstBlend=3},  {type:SET_PROPERTY,data:_SrcBlendAlpha=1}, {type:SET_PROPERTY,data:_DstBlendAlpha=1},  {type:SET_PROPERTY,data:_AddSrcBlend=2}, {type:SET_PROPERTY,data:_AddDstBlend=1}, {type:SET_PROPERTY,data:_AddSrcBlendAlpha=0}, {type:SET_PROPERTY,data:_AddDstBlendAlpha=1}, {type:SET_PROPERTY,data:_AlphaToCoverage=0},  {type:SET_PROPERTY,data:_ZWrite=0}, {type:SET_PROPERTY,data:_ZTest=4},   {type:SET_PROPERTY,data:_AlphaPremultiply=0}, {type:SET_PROPERTY,data:_OutlineSrcBlend=2}, {type:SET_PROPERTY,data:_OutlineDstBlend=3},  {type:SET_PROPERTY,data:_OutlineSrcBlendAlpha=1}, {type:SET_PROPERTY,data:_OutlineDstBlendAlpha=1}, {type:SET_PROPERTY,data:_OutlineBlendOp=0}, {type:SET_PROPERTY,data:_OutlineBlendOpAlpha=4}]}
28      }]}]}", Int) = 0
29
30      [HideInInspector] m_start_Main("Main", Float) = 0
31        _MainTex("Base color", 2D) = "white" {}
32        _Color("Tint", Color) = (1, 1, 1, 1)
33
34        [Normal] _BumpMap("Normal", 2D) = "bump" {}
35        _BumpScale("Normal Scale", Float) = 1
36
37        _MetallicGlossMap("Metallic (r) smoothness (a)", 2D) = "white" {}
38        _Metallic("Metallic", Range(0, 1)) = 0
39        _Glossiness("Smoothness", Range(0, 1)) = 0.5
40
41        [HideInInspector] m_start_IBL("Image-based lighting", Float) = 0
42          _Exposure_Occlusion("Exposure Occlusion", Range(0.001, 10)) = 1
43
44          //ifex _Custom_Cubemap_Enable_Static==0
45          [HideInInspector] m_start_Custom_Cubemap("Custom Cubemap", Float) = 0
46            [ThryToggle(_CUSTOM_CUBEMAP)] _Custom_Cubemap_Enable_Static("Enable (static)", Float) = 0
47            [DoNotLock] [ToggleUI] _Custom_Cubemap_Enable_Dynamic("Enable (dynamic)", Float) = 0
48            [NoScaleOffset] _Custom_Cubemap("Cubemap (HDR)", Cube) = "" {}
49          [HideInInspector] m_end_Custom_Cubemap("Custom Cubemap", Float) = 0
50          //endex
51
52          //ifex _Bent_Normals_Enabled==0
53          [HideInInspector] m_start_Bent_Normals("Bent Normals", Float) = 0
54            [ThryToggle(_BENT_NORMALS)] _Bent_Normals_Enabled("Enable", Float) = 0
55            [Normal] _Bent_Normals_Map("Bent Normals", 2D) = "white" {}
56            _Bent_Normals_Strength("Bent Normals Strength", Range(0, 10)) = 1
57          [HideInInspector] m_end_Bent_Normals("Bent Normals", Float) = 0
58          //endex
59        [HideInInspector] m_end_IBL("Image-based lighting", Float) = 0
60
61        //ifex _Emissions_Enabled==0
62        [HideInInspector] m_start_Emissions("Emissions", Float) = 0
63          [ThryToggle(_EMISSIONS)] _Emissions_Enabled("Enable", Float) = 0
64          _EmissionColor("Tint", Color) = (1, 1, 1, 1)
65          _EmissionMap("Color", 2D) = "white" {}
66          _EmissionMask("Mask", 2D) = "white" {}
67        [HideInInspector] m_end_Emissions("Emissions", Float) = 0
68        //endex
69
70        //ifex _Details_Enabled==0
71        [HideInInspector] m_start_Details("Details", Float) = 0
72          [ThryToggle(_DETAILS)] _Details_Enabled("Enable", Float) = 0
73          [Normal] _DetailNormalMap("Normal", 2D) = "bump" {}
74          _DetailNormalMapScale("Normal Scale", Float) = 1
75          _DetailMask("Mask", 2D) = "white" {}
76          [IntRange] _Details_UV_Channel("UV Channel", Range(0, 3)) = 0
77        [HideInInspector] m_end_Details("Details", Float) = 0
78        //endex
79
80        //ifex _Ambient_Occlusion_Enabled==0
81        [HideInInspector] m_start_Ambient_Occlusion("Ambient Occlusion", Float) = 0
82          [ThryToggle(_AMBIENT_OCCLUSION)] _Ambient_Occlusion_Enabled("Enable", Float) = 0
83          _OcclusionMap("Ambient Occlusion", 2D) = "white" {}
84          _OcclusionStrength("Occlusion Strength", Range(0, 10)) = 1
85        [HideInInspector] m_end_Ambient_Occlusion("Ambient Occlusion", Float) = 0
86        //endex
87
88        [HideInInspector] m_start_Matcaps("Decals", Float) = 0
89          //ifex _Decal0_Enabled==0
90          [HideInInspector] m_start_Decal0("Decal 0", Float) = 0
91            [ThryToggle(_DECAL0)] _Decal0_Enabled("Enable", Float) = 0
92            _Decal0_MainTex("Base color", 2D) = "white" {}
93            [HDR] _Decal0_Color("Tint", Color) = (1, 1, 1, 1)
94            _Decal0_Opacity("Opacity", Range(0, 1)) = 1
95            [ThryWideEnum(Repeat, 0, Mirror, 1, Clamp, 2)] _Decal0_UV_Mode("UV Mode", Int) = 0
96            [ThryWideEnum(AlphaBlend, 0, Multiply, 1, AddProduct, 2)] _Decal0_Mix_Mode("Mix Mode", Int) = 0
97            [IntRange] _Decal0_UV_Channel("UV Channel", Range(0, 3)) = 0
98            [ThryToggle(_DECAL0_ALBEDO_CLAMP)] _Decal0_Albedo_Clamp("Clamp albedo", Float) = 0
99            [ThryToggle(_DECAL0_REPLACE_ALPHA)] _Decal0_Replace_Alpha("Replace alpha", Float) = 0
100
101            //ifex _Decal0_Mask_Enabled==0
102            [HideInInspector] m_start_Decal0_Mask("Mask", Float) = 0
103              [ThryToggle(_DECAL0_MASK)] _Decal0_Mask_Enabled("Enable", Float) = 0
104              _Decal0_Mask("Mask", 2D) = "white" {}
105              [ThryToggle(_DECAL0_MASK_INVERT)] _Decal0_Mask_Invert("Invert", Float) = 0
106              [IntRange] _Decal0_Mask_UV_Channel("UV Channel", Range(0, 3)) = 0
107            [HideInInspector] m_end_Decal0_Mask("Mask", Float) = 0
108            //endex
109
110            //ifex _Decal0_Metallic_Gloss_Enabled==0
111            [HideInInspector] m_start_Decal0_Metallic_Gloss("Metallic Gloss", Float) = 0
112              [ThryToggle(_DECAL0_METALLIC_GLOSS)] _Decal0_Metallic_Gloss_Enabled("Enable", Float) = 0
113              _Decal0_Metallic_Gloss("Metallic Gloss", 2D) = "white" {}
114              _Decal0_Metallic("Metallic", Range(0, 1)) = 1
115              _Decal0_Gloss("Gloss", Range(0, 1)) = 1
116            [HideInInspector] m_end_Decal0_Metallic_Gloss("Metallic Gloss", Float) = 0
117            //endex
118
119            //ifex _Decal0_Normal_Enabled==0
120            [HideInInspector] m_start_Decal0_Normal("Normal Map", Float) = 0
121              [ThryToggle(_DECAL0_NORMAL)] _Decal0_Normal_Enabled("Enable", Float) = 0
122              [Normal] _Decal0_Normal("Normal Map", 2D) = "bump" {}
123              _Decal0_Normal_Scale("Scale", Float) = 1
124            [HideInInspector] m_end_Decal0_Normal("Normal Map", Float) = 0
125            //endex
126
127            //ifex _Decal0_Rotation_Enabled==0
128            [HideInInspector] m_start_Decal0_Rotation("Rotation", Float) = 0
129              [ThryToggle(_DECAL0_ROTATION)] _Decal0_Rotation_Enabled("Enable", Float) = 0
130              _Decal0_Rotation("Rotation", Range(-0.5, 0.5)) = 0
131            [HideInInspector] m_end_Decal0_Rotation("Rotation", Float) = 0
132            //endex
133
134            //ifex _Decal0_SDF_Enabled==0
135            [HideInInspector] m_start_Decal0_SDF("SDF", Float) = 0
136              [ThryToggle(_DECAL0_SDF)] _Decal0_SDF_Enabled("Enable", Float) = 0
137              _Decal0_SDF_Threshold("Threshold", Range(0, 1)) = 0.5
138              [ThryToggle(_DECAL0_SDF_INVERT)] _Decal0_SDF_Invert("Invert", Float) = 0
139            [HideInInspector] m_end_Decal0_SDF("SDF", Float) = 0
140            //endex
141          [HideInInspector] m_end_Decal0("Decal 0", Float) = 0
142          //endex
143
144          //ifex _Decal1_Enabled==0
145          [HideInInspector] m_start_Decal1("Decal 1", Float) = 0
146            [ThryToggle(_DECAL1)] _Decal1_Enabled("Enable", Float) = 0
147            _Decal1_MainTex("Base color", 2D) = "white" {}
148            [HDR] _Decal1_Color("Tint", Color) = (1, 1, 1, 1)
149            _Decal1_Opacity("Opacity", Range(0, 1)) = 1
150            [ThryWideEnum(Repeat, 0, Mirror, 1, Clamp, 2)] _Decal1_UV_Mode("UV Mode", Int) = 0
151            [ThryWideEnum(AlphaBlend, 0, Multiply, 1, AddProduct, 2)] _Decal1_Mix_Mode("Mix Mode", Int) = 0
152            [IntRange] _Decal1_UV_Channel("UV Channel", Range(0, 3)) = 0
153            [ThryToggle(_DECAL1_ALBEDO_CLAMP)] _Decal1_Albedo_Clamp("Clamp albedo", Float) = 0
154            [ThryToggle(_DECAL1_REPLACE_ALPHA)] _Decal1_Replace_Alpha("Replace alpha", Float) = 0
155
156            //ifex _Decal1_Mask_Enabled==0
157            [HideInInspector] m_start_Decal1_Mask("Mask", Float) = 0
158              [ThryToggle(_DECAL1_MASK)] _Decal1_Mask_Enabled("Enable", Float) = 0
159              _Decal1_Mask("Mask", 2D) = "white" {}
160              [ThryToggle(_DECAL1_MASK_INVERT)] _Decal1_Mask_Invert("Invert", Float) = 0
161              [IntRange] _Decal1_Mask_UV_Channel("UV Channel", Range(0, 3)) = 0
162            [HideInInspector] m_end_Decal1_Mask("Mask", Float) = 0
163            //endex
164
165            //ifex _Decal1_Metallic_Gloss_Enabled==0
166            [HideInInspector] m_start_Decal1_Metallic_Gloss("Metallic Gloss", Float) = 0
167              [ThryToggle(_DECAL1_METALLIC_GLOSS)] _Decal1_Metallic_Gloss_Enabled("Enable", Float) = 0
168              _Decal1_Metallic_Gloss("Metallic Gloss", 2D) = "white" {}
169              _Decal1_Metallic("Metallic", Range(0, 1)) = 1
170              _Decal1_Gloss("Gloss", Range(0, 1)) = 1
171            [HideInInspector] m_end_Decal1_Metallic_Gloss("Metallic Gloss", Float) = 0
172            //endex
173
174            //ifex _Decal1_Normal_Enabled==0
175            [HideInInspector] m_start_Decal1_Normal("Normal Map", Float) = 0
176              [ThryToggle(_DECAL1_NORMAL)] _Decal1_Normal_Enabled("Enable", Float) = 0
177              [Normal] _Decal1_Normal("Normal Map", 2D) = "bump" {}
178              _Decal1_Normal_Scale("Scale", Float) = 1
179            [HideInInspector] m_end_Decal1_Normal("Normal Map", Float) = 0
180            //endex
181
182            //ifex _Decal1_Rotation_Enabled==0
183            [HideInInspector] m_start_Decal1_Rotation("Rotation", Float) = 0
184              [ThryToggle(_DECAL1_ROTATION)] _Decal1_Rotation_Enabled("Enable", Float) = 0
185              _Decal1_Rotation("Rotation", Range(-0.5, 0.5)) = 0
186            [HideInInspector] m_end_Decal1_Rotation("Rotation", Float) = 0
187            //endex
188
189            //ifex _Decal1_SDF_Enabled==0
190            [HideInInspector] m_start_Decal1_SDF("SDF", Float) = 0
191              [ThryToggle(_DECAL1_SDF)] _Decal1_SDF_Enabled("Enable", Float) = 0
192              _Decal1_SDF_Threshold("Threshold", Range(0, 1)) = 0.5
193              [ThryToggle(_DECAL1_SDF_INVERT)] _Decal1_SDF_Invert("Invert", Float) = 0
194            [HideInInspector] m_end_Decal1_SDF("SDF", Float) = 0
195            //endex
196          [HideInInspector] m_end_Decal1("Decal 1", Float) = 0
197          //endex
198
199          //ifex _Decal2_Enabled==0
200          [HideInInspector] m_start_Decal2("Decal 2", Float) = 0
201            [ThryToggle(_DECAL2)] _Decal2_Enabled("Enable", Float) = 0
202            _Decal2_MainTex("Base color", 2D) = "white" {}
203            [HDR] _Decal2_Color("Tint", Color) = (1, 1, 1, 1)
204            _Decal2_Opacity("Opacity", Range(0, 1)) = 1
205            [ThryWideEnum(Repeat, 0, Mirror, 1, Clamp, 2)] _Decal2_UV_Mode("UV Mode", Int) = 0
206            [ThryWideEnum(AlphaBlend, 0, Multiply, 1, AddProduct, 2)] _Decal2_Mix_Mode("Mix Mode", Int) = 0
207            [IntRange] _Decal2_UV_Channel("UV Channel", Range(0, 3)) = 0
208            [ThryToggle(_DECAL2_ALBEDO_CLAMP)] _Decal2_Albedo_Clamp("Clamp albedo", Float) = 0
209            [ThryToggle(_DECAL2_REPLACE_ALPHA)] _Decal2_Replace_Alpha("Replace alpha", Float) = 0
210
211            //ifex _Decal2_Mask_Enabled==0
212            [HideInInspector] m_start_Decal2_Mask("Mask", Float) = 0
213              [ThryToggle(_DECAL2_MASK)] _Decal2_Mask_Enabled("Enable", Float) = 0
214              _Decal2_Mask("Mask", 2D) = "white" {}
215              [ThryToggle(_DECAL2_MASK_INVERT)] _Decal2_Mask_Invert("Invert", Float) = 0
216              [IntRange] _Decal2_Mask_UV_Channel("UV Channel", Range(0, 3)) = 0
217            [HideInInspector] m_end_Decal2_Mask("Mask", Float) = 0
218            //endex
219
220            //ifex _Decal2_Metallic_Gloss_Enabled==0
221            [HideInInspector] m_start_Decal2_Metallic_Gloss("Metallic Gloss", Float) = 0
222              [ThryToggle(_DECAL2_METALLIC_GLOSS)] _Decal2_Metallic_Gloss_Enabled("Enable", Float) = 0
223              _Decal2_Metallic_Gloss("Metallic Gloss", 2D) = "white" {}
224              _Decal2_Metallic("Metallic", Range(0, 1)) = 1
225              _Decal2_Gloss("Gloss", Range(0, 1)) = 1
226            [HideInInspector] m_end_Decal2_Metallic_Gloss("Metallic Gloss", Float) = 0
227            //endex
228
229            //ifex _Decal2_Normal_Enabled==0
230            [HideInInspector] m_start_Decal2_Normal("Normal Map", Float) = 0
231              [ThryToggle(_DECAL2_NORMAL)] _Decal2_Normal_Enabled("Enable", Float) = 0
232              [Normal] _Decal2_Normal("Normal Map", 2D) = "bump" {}
233              _Decal2_Normal_Scale("Scale", Float) = 1
234            [HideInInspector] m_end_Decal2_Normal("Normal Map", Float) = 0
235            //endex
236
237            //ifex _Decal2_Rotation_Enabled==0
238            [HideInInspector] m_start_Decal2_Rotation("Rotation", Float) = 0
239              [ThryToggle(_DECAL2_ROTATION)] _Decal2_Rotation_Enabled("Enable", Float) = 0
240              _Decal2_Rotation("Rotation", Range(-0.5, 0.5)) = 0
241            [HideInInspector] m_end_Decal2_Rotation("Rotation", Float) = 0
242            //endex
243
244            //ifex _Decal2_SDF_Enabled==0
245            [HideInInspector] m_start_Decal2_SDF("SDF", Float) = 0
246              [ThryToggle(_DECAL2_SDF)] _Decal2_SDF_Enabled("Enable", Float) = 0
247              _Decal2_SDF_Threshold("Threshold", Range(0, 1)) = 0.5
248              [ThryToggle(_DECAL2_SDF_INVERT)] _Decal2_SDF_Invert("Invert", Float) = 0
249            [HideInInspector] m_end_Decal2_SDF("SDF", Float) = 0
250            //endex
251          [HideInInspector] m_end_Decal2("Decal 2", Float) = 0
252          //endex
253
254          //ifex _Decal3_Enabled==0
255          [HideInInspector] m_start_Decal3("Decal 3", Float) = 0
256            [ThryToggle(_DECAL3)] _Decal3_Enabled("Enable", Float) = 0
257            _Decal3_MainTex("Base color", 2D) = "white" {}
258            [HDR] _Decal3_Color("Tint", Color) = (1, 1, 1, 1)
259            _Decal3_Opacity("Opacity", Range(0, 1)) = 1
260            [ThryWideEnum(Repeat, 0, Mirror, 1, Clamp, 2)] _Decal3_UV_Mode("UV Mode", Int) = 0
261            [ThryWideEnum(AlphaBlend, 0, Multiply, 1, AddProduct, 2)] _Decal3_Mix_Mode("Mix Mode", Int) = 0
262            [IntRange] _Decal3_UV_Channel("UV Channel", Range(0, 3)) = 0
263            [ThryToggle(_DECAL3_ALBEDO_CLAMP)] _Decal3_Albedo_Clamp("Clamp albedo", Float) = 0
264            [ThryToggle(_DECAL3_REPLACE_ALPHA)] _Decal3_Replace_Alpha("Replace alpha", Float) = 0
265
266            //ifex _Decal3_Mask_Enabled==0
267            [HideInInspector] m_start_Decal3_Mask("Mask", Float) = 0
268              [ThryToggle(_DECAL3_MASK)] _Decal3_Mask_Enabled("Enable", Float) = 0
269              _Decal3_Mask("Mask", 2D) = "white" {}
270              [ThryToggle(_DECAL3_MASK_INVERT)] _Decal3_Mask_Invert("Invert", Float) = 0
271              [IntRange] _Decal3_Mask_UV_Channel("UV Channel", Range(0, 3)) = 0
272            [HideInInspector] m_end_Decal3_Mask("Mask", Float) = 0
273            //endex
274
275            //ifex _Decal3_Metallic_Gloss_Enabled==0
276            [HideInInspector] m_start_Decal3_Metallic_Gloss("Metallic Gloss", Float) = 0
277              [ThryToggle(_DECAL3_METALLIC_GLOSS)] _Decal3_Metallic_Gloss_Enabled("Enable", Float) = 0
278              _Decal3_Metallic_Gloss("Metallic Gloss", 2D) = "white" {}
279              _Decal3_Metallic("Metallic", Range(0, 1)) = 1
280              _Decal3_Gloss("Gloss", Range(0, 1)) = 1
281            [HideInInspector] m_end_Decal3_Metallic_Gloss("Metallic Gloss", Float) = 0
282            //endex
283
284            //ifex _Decal3_Normal_Enabled==0
285            [HideInInspector] m_start_Decal3_Normal("Normal Map", Float) = 0
286              [ThryToggle(_DECAL3_NORMAL)] _Decal3_Normal_Enabled("Enable", Float) = 0
287              [Normal] _Decal3_Normal("Normal Map", 2D) = "bump" {}
288              _Decal3_Normal_Scale("Scale", Float) = 1
289            [HideInInspector] m_end_Decal3_Normal("Normal Map", Float) = 0
290            //endex
291
292            //ifex _Decal3_Rotation_Enabled==0
293            [HideInInspector] m_start_Decal3_Rotation("Rotation", Float) = 0
294              [ThryToggle(_DECAL3_ROTATION)] _Decal3_Rotation_Enabled("Enable", Float) = 0
295              _Decal3_Rotation("Rotation", Range(-0.5, 0.5)) = 0
296            [HideInInspector] m_end_Decal3_Rotation("Rotation", Float) = 0
297            //endex
298
299            //ifex _Decal3_SDF_Enabled==0
300            [HideInInspector] m_start_Decal3_SDF("SDF", Float) = 0
301              [ThryToggle(_DECAL3_SDF)] _Decal3_SDF_Enabled("Enable", Float) = 0
302              _Decal3_SDF_Threshold("Threshold", Range(0, 1)) = 0.5
303              [ThryToggle(_DECAL3_SDF_INVERT)] _Decal3_SDF_Invert("Invert", Float) = 0
304            [HideInInspector] m_end_Decal3_SDF("SDF", Float) = 0
305            //endex
306          [HideInInspector] m_end_Decal3("Decal 3", Float) = 0
307          //endex
308
309          //ifex _Decal4_Enabled==0
310          [HideInInspector] m_start_Decal4("Decal 4", Float) = 0
311            [ThryToggle(_DECAL4)] _Decal4_Enabled("Enable", Float) = 0
312            _Decal4_MainTex("Base color", 2D) = "white" {}
313            [HDR] _Decal4_Color("Tint", Color) = (1, 1, 1, 1)
314            _Decal4_Opacity("Opacity", Range(0, 1)) = 1
315            [ThryWideEnum(Repeat, 0, Mirror, 1, Clamp, 2)] _Decal4_UV_Mode("UV Mode", Int) = 0
316            [ThryWideEnum(AlphaBlend, 0, Multiply, 1, AddProduct, 2)] _Decal4_Mix_Mode("Mix Mode", Int) = 0
317            [IntRange] _Decal4_UV_Channel("UV Channel", Range(0, 3)) = 0
318            [ThryToggle(_DECAL4_ALBEDO_CLAMP)] _Decal4_Albedo_Clamp("Clamp albedo", Float) = 0
319            [ThryToggle(_DECAL4_REPLACE_ALPHA)] _Decal4_Replace_Alpha("Replace alpha", Float) = 0
320
321            //ifex _Decal4_Mask_Enabled==0
322            [HideInInspector] m_start_Decal4_Mask("Mask", Float) = 0
323              [ThryToggle(_DECAL4_MASK)] _Decal4_Mask_Enabled("Enable", Float) = 0
324              _Decal4_Mask("Mask", 2D) = "white" {}
325              [ThryToggle(_DECAL4_MASK_INVERT)] _Decal4_Mask_Invert("Invert", Float) = 0
326              [IntRange] _Decal4_Mask_UV_Channel("UV Channel", Range(0, 3)) = 0
327            [HideInInspector] m_end_Decal4_Mask("Mask", Float) = 0
328            //endex
329
330            //ifex _Decal4_Metallic_Gloss_Enabled==0
331            [HideInInspector] m_start_Decal4_Metallic_Gloss("Metallic Gloss", Float) = 0
332              [ThryToggle(_DECAL4_METALLIC_GLOSS)] _Decal4_Metallic_Gloss_Enabled("Enable", Float) = 0
333              _Decal4_Metallic_Gloss("Metallic Gloss", 2D) = "white" {}
334              _Decal4_Metallic("Metallic", Range(0, 1)) = 1
335              _Decal4_Gloss("Gloss", Range(0, 1)) = 1
336            [HideInInspector] m_end_Decal4_Metallic_Gloss("Metallic Gloss", Float) = 0
337            //endex
338
339            //ifex _Decal4_Normal_Enabled==0
340            [HideInInspector] m_start_Decal4_Normal("Normal Map", Float) = 0
341              [ThryToggle(_DECAL4_NORMAL)] _Decal4_Normal_Enabled("Enable", Float) = 0
342              [Normal] _Decal4_Normal("Normal Map", 2D) = "bump" {}
343              _Decal4_Normal_Scale("Scale", Float) = 1
344            [HideInInspector] m_end_Decal4_Normal("Normal Map", Float) = 0
345            //endex
346
347            //ifex _Decal4_Rotation_Enabled==0
348            [HideInInspector] m_start_Decal4_Rotation("Rotation", Float) = 0
349              [ThryToggle(_DECAL4_ROTATION)] _Decal4_Rotation_Enabled("Enable", Float) = 0
350              _Decal4_Rotation("Rotation", Range(-0.5, 0.5)) = 0
351            [HideInInspector] m_end_Decal4_Rotation("Rotation", Float) = 0
352            //endex
353
354            //ifex _Decal4_SDF_Enabled==0
355            [HideInInspector] m_start_Decal4_SDF("SDF", Float) = 0
356              [ThryToggle(_DECAL4_SDF)] _Decal4_SDF_Enabled("Enable", Float) = 0
357              _Decal4_SDF_Threshold("Threshold", Range(0, 1)) = 0.5
358              [ThryToggle(_DECAL4_SDF_INVERT)] _Decal4_SDF_Invert("Invert", Float) = 0
359            [HideInInspector] m_end_Decal4_SDF("SDF", Float) = 0
360            //endex
361          [HideInInspector] m_end_Decal4("Decal 4", Float) = 0
362          //endex
363
364          //ifex _Decal5_Enabled==0
365          [HideInInspector] m_start_Decal5("Decal 5", Float) = 0
366            [ThryToggle(_DECAL5)] _Decal5_Enabled("Enable", Float) = 0
367            _Decal5_MainTex("Base color", 2D) = "white" {}
368            [HDR] _Decal5_Color("Tint", Color) = (1, 1, 1, 1)
369            _Decal5_Opacity("Opacity", Range(0, 1)) = 1
370            [ThryWideEnum(Repeat, 0, Mirror, 1, Clamp, 2)] _Decal5_UV_Mode("UV Mode", Int) = 0
371            [ThryWideEnum(AlphaBlend, 0, Multiply, 1, AddProduct, 2)] _Decal5_Mix_Mode("Mix Mode", Int) = 0
372            [IntRange] _Decal5_UV_Channel("UV Channel", Range(0, 3)) = 0
373            [ThryToggle(_DECAL5_ALBEDO_CLAMP)] _Decal5_Albedo_Clamp("Clamp albedo", Float) = 0
374            [ThryToggle(_DECAL5_REPLACE_ALPHA)] _Decal5_Replace_Alpha("Replace alpha", Float) = 0
375
376            //ifex _Decal5_Mask_Enabled==0
377            [HideInInspector] m_start_Decal5_Mask("Mask", Float) = 0
378              [ThryToggle(_DECAL5_MASK)] _Decal5_Mask_Enabled("Enable", Float) = 0
379              _Decal5_Mask("Mask", 2D) = "white" {}
380              [ThryToggle(_DECAL5_MASK_INVERT)] _Decal5_Mask_Invert("Invert", Float) = 0
381              [IntRange] _Decal5_Mask_UV_Channel("UV Channel", Range(0, 3)) = 0
382            [HideInInspector] m_end_Decal5_Mask("Mask", Float) = 0
383            //endex
384
385            //ifex _Decal5_Metallic_Gloss_Enabled==0
386            [HideInInspector] m_start_Decal5_Metallic_Gloss("Metallic Gloss", Float) = 0
387              [ThryToggle(_DECAL5_METALLIC_GLOSS)] _Decal5_Metallic_Gloss_Enabled("Enable", Float) = 0
388              _Decal5_Metallic_Gloss("Metallic Gloss", 2D) = "white" {}
389              _Decal5_Metallic("Metallic", Range(0, 1)) = 1
390              _Decal5_Gloss("Gloss", Range(0, 1)) = 1
391            [HideInInspector] m_end_Decal5_Metallic_Gloss("Metallic Gloss", Float) = 0
392            //endex
393
394            //ifex _Decal5_Normal_Enabled==0
395            [HideInInspector] m_start_Decal5_Normal("Normal Map", Float) = 0
396              [ThryToggle(_DECAL5_NORMAL)] _Decal5_Normal_Enabled("Enable", Float) = 0
397              [Normal] _Decal5_Normal("Normal Map", 2D) = "bump" {}
398              _Decal5_Normal_Scale("Scale", Float) = 1
399            [HideInInspector] m_end_Decal5_Normal("Normal Map", Float) = 0
400            //endex
401
402            //ifex _Decal5_Rotation_Enabled==0
403            [HideInInspector] m_start_Decal5_Rotation("Rotation", Float) = 0
404              [ThryToggle(_DECAL5_ROTATION)] _Decal5_Rotation_Enabled("Enable", Float) = 0
405              _Decal5_Rotation("Rotation", Range(-0.5, 0.5)) = 0
406            [HideInInspector] m_end_Decal5_Rotation("Rotation", Float) = 0
407            //endex
408
409            //ifex _Decal5_SDF_Enabled==0
410            [HideInInspector] m_start_Decal5_SDF("SDF", Float) = 0
411              [ThryToggle(_DECAL5_SDF)] _Decal5_SDF_Enabled("Enable", Float) = 0
412              _Decal5_SDF_Threshold("Threshold", Range(0, 1)) = 0.5
413              [ThryToggle(_DECAL5_SDF_INVERT)] _Decal5_SDF_Invert("Invert", Float) = 0
414            [HideInInspector] m_end_Decal5_SDF("SDF", Float) = 0
415            //endex
416          [HideInInspector] m_end_Decal5("Decal 5", Float) = 0
417          //endex
418
419          //ifex _Decal6_Enabled==0
420          [HideInInspector] m_start_Decal6("Decal 6", Float) = 0
421            [ThryToggle(_DECAL6)] _Decal6_Enabled("Enable", Float) = 0
422            _Decal6_MainTex("Base color", 2D) = "white" {}
423            [HDR] _Decal6_Color("Tint", Color) = (1, 1, 1, 1)
424            _Decal6_Opacity("Opacity", Range(0, 1)) = 1
425            [ThryWideEnum(Repeat, 0, Mirror, 1, Clamp, 2)] _Decal6_UV_Mode("UV Mode", Int) = 0
426            [ThryWideEnum(AlphaBlend, 0, Multiply, 1, AddProduct, 2)] _Decal6_Mix_Mode("Mix Mode", Int) = 0
427            [IntRange] _Decal6_UV_Channel("UV Channel", Range(0, 3)) = 0
428            [ThryToggle(_DECAL6_ALBEDO_CLAMP)] _Decal6_Albedo_Clamp("Clamp albedo", Float) = 0
429            [ThryToggle(_DECAL6_REPLACE_ALPHA)] _Decal6_Replace_Alpha("Replace alpha", Float) = 0
430
431            //ifex _Decal6_Mask_Enabled==0
432            [HideInInspector] m_start_Decal6_Mask("Mask", Float) = 0
433              [ThryToggle(_DECAL6_MASK)] _Decal6_Mask_Enabled("Enable", Float) = 0
434              _Decal6_Mask("Mask", 2D) = "white" {}
435              [ThryToggle(_DECAL6_MASK_INVERT)] _Decal6_Mask_Invert("Invert", Float) = 0
436              [IntRange] _Decal6_Mask_UV_Channel("UV Channel", Range(0, 3)) = 0
437            [HideInInspector] m_end_Decal6_Mask("Mask", Float) = 0
438            //endex
439
440            //ifex _Decal6_Metallic_Gloss_Enabled==0
441            [HideInInspector] m_start_Decal6_Metallic_Gloss("Metallic Gloss", Float) = 0
442              [ThryToggle(_DECAL6_METALLIC_GLOSS)] _Decal6_Metallic_Gloss_Enabled("Enable", Float) = 0
443              _Decal6_Metallic_Gloss("Metallic Gloss", 2D) = "white" {}
444              _Decal6_Metallic("Metallic", Range(0, 1)) = 1
445              _Decal6_Gloss("Gloss", Range(0, 1)) = 1
446            [HideInInspector] m_end_Decal6_Metallic_Gloss("Metallic Gloss", Float) = 0
447            //endex
448
449            //ifex _Decal6_Normal_Enabled==0
450            [HideInInspector] m_start_Decal6_Normal("Normal Map", Float) = 0
451              [ThryToggle(_DECAL6_NORMAL)] _Decal6_Normal_Enabled("Enable", Float) = 0
452              [Normal] _Decal6_Normal("Normal Map", 2D) = "bump" {}
453              _Decal6_Normal_Scale("Scale", Float) = 1
454            [HideInInspector] m_end_Decal6_Normal("Normal Map", Float) = 0
455            //endex
456
457            //ifex _Decal6_Rotation_Enabled==0
458            [HideInInspector] m_start_Decal6_Rotation("Rotation", Float) = 0
459              [ThryToggle(_DECAL6_ROTATION)] _Decal6_Rotation_Enabled("Enable", Float) = 0
460              _Decal6_Rotation("Rotation", Range(-0.5, 0.5)) = 0
461            [HideInInspector] m_end_Decal6_Rotation("Rotation", Float) = 0
462            //endex
463
464            //ifex _Decal6_SDF_Enabled==0
465            [HideInInspector] m_start_Decal6_SDF("SDF", Float) = 0
466              [ThryToggle(_DECAL6_SDF)] _Decal6_SDF_Enabled("Enable", Float) = 0
467              _Decal6_SDF_Threshold("Threshold", Range(0, 1)) = 0.5
468              [ThryToggle(_DECAL6_SDF_INVERT)] _Decal6_SDF_Invert("Invert", Float) = 0
469            [HideInInspector] m_end_Decal6_SDF("SDF", Float) = 0
470            //endex
471          [HideInInspector] m_end_Decal6("Decal 6", Float) = 0
472          //endex
473
474          //ifex _Decal7_Enabled==0
475          [HideInInspector] m_start_Decal7("Decal 7", Float) = 0
476            [ThryToggle(_DECAL7)] _Decal7_Enabled("Enable", Float) = 0
477            _Decal7_MainTex("Base color", 2D) = "white" {}
478            [HDR] _Decal7_Color("Tint", Color) = (1, 1, 1, 1)
479            _Decal7_Opacity("Opacity", Range(0, 1)) = 1
480            [ThryWideEnum(Repeat, 0, Mirror, 1, Clamp, 2)] _Decal7_UV_Mode("UV Mode", Int) = 0
481            [ThryWideEnum(AlphaBlend, 0, Multiply, 1, AddProduct, 2)] _Decal7_Mix_Mode("Mix Mode", Int) = 0
482            [IntRange] _Decal7_UV_Channel("UV Channel", Range(0, 3)) = 0
483            [ThryToggle(_DECAL7_ALBEDO_CLAMP)] _Decal7_Albedo_Clamp("Clamp albedo", Float) = 0
484            [ThryToggle(_DECAL7_REPLACE_ALPHA)] _Decal7_Replace_Alpha("Replace alpha", Float) = 0
485
486            //ifex _Decal7_Mask_Enabled==0
487            [HideInInspector] m_start_Decal7_Mask("Mask", Float) = 0
488              [ThryToggle(_DECAL7_MASK)] _Decal7_Mask_Enabled("Enable", Float) = 0
489              _Decal7_Mask("Mask", 2D) = "white" {}
490              [ThryToggle(_DECAL7_MASK_INVERT)] _Decal7_Mask_Invert("Invert", Float) = 0
491              [IntRange] _Decal7_Mask_UV_Channel("UV Channel", Range(0, 3)) = 0
492            [HideInInspector] m_end_Decal7_Mask("Mask", Float) = 0
493            //endex
494
495            //ifex _Decal7_Metallic_Gloss_Enabled==0
496            [HideInInspector] m_start_Decal7_Metallic_Gloss("Metallic Gloss", Float) = 0
497              [ThryToggle(_DECAL7_METALLIC_GLOSS)] _Decal7_Metallic_Gloss_Enabled("Enable", Float) = 0
498              _Decal7_Metallic_Gloss("Metallic Gloss", 2D) = "white" {}
499              _Decal7_Metallic("Metallic", Range(0, 1)) = 1
500              _Decal7_Gloss("Gloss", Range(0, 1)) = 1
501            [HideInInspector] m_end_Decal7_Metallic_Gloss("Metallic Gloss", Float) = 0
502            //endex
503
504            //ifex _Decal7_Normal_Enabled==0
505            [HideInInspector] m_start_Decal7_Normal("Normal Map", Float) = 0
506              [ThryToggle(_DECAL7_NORMAL)] _Decal7_Normal_Enabled("Enable", Float) = 0
507              [Normal] _Decal7_Normal("Normal Map", 2D) = "bump" {}
508              _Decal7_Normal_Scale("Scale", Float) = 1
509            [HideInInspector] m_end_Decal7_Normal("Normal Map", Float) = 0
510            //endex
511
512            //ifex _Decal7_Rotation_Enabled==0
513            [HideInInspector] m_start_Decal7_Rotation("Rotation", Float) = 0
514              [ThryToggle(_DECAL7_ROTATION)] _Decal7_Rotation_Enabled("Enable", Float) = 0
515              _Decal7_Rotation("Rotation", Range(-0.5, 0.5)) = 0
516            [HideInInspector] m_end_Decal7_Rotation("Rotation", Float) = 0
517            //endex
518
519            //ifex _Decal7_SDF_Enabled==0
520            [HideInInspector] m_start_Decal7_SDF("SDF", Float) = 0
521              [ThryToggle(_DECAL7_SDF)] _Decal7_SDF_Enabled("Enable", Float) = 0
522              _Decal7_SDF_Threshold("Threshold", Range(0, 1)) = 0.5
523              [ThryToggle(_DECAL7_SDF_INVERT)] _Decal7_SDF_Invert("Invert", Float) = 0
524            [HideInInspector] m_end_Decal7_SDF("SDF", Float) = 0
525            //endex
526          [HideInInspector] m_end_Decal7("Decal 7", Float) = 0
527          //endex
528        [HideInInspector] m_end_Decals("Decals", Float) = 0
529
530        [HideInInspector] m_start_Triplanar_Layers("Triplanar Layers", Float) = 0
531          //ifex _Triplanar_Layer0_Enabled==0
532          [HideInInspector] m_start_Triplanar_Layer0("Triplanar Layer 0", Float) = 0
533            [ThryToggle(_TRIPLANAR_LAYER0)] _Triplanar_Layer0_Enabled("Enable", Float) = 0
534            _Triplanar_Layer0_Scale("Scale", Float) = 1
535
536            _Triplanar_Layer0_MainTex("Base color", 2D) = "white" {}
537            [HDR] _Triplanar_Layer0_Color("Tint", Color) = (1, 1, 1, 1)
538
539            //ifex _Triplanar_Layer0_Normal_Enabled==0
540            [HideInInspector] m_start_Triplanar_Layer0_Normal("Normal Map", Float) = 0
541              [ThryToggle(_TRIPLANAR_LAYER0_NORMAL)] _Triplanar_Layer0_Normal_Enabled("Enable", Float) = 0
542              [Normal] _Triplanar_Layer0_Normal("Normal Map", 2D) = "bump" {}
543              _Triplanar_Layer0_Normal_Scale("Scale", Float) = 1
544            [HideInInspector] m_end_Triplanar_Layer0_Normal("Normal Map", Float) = 0
545            //endex
546
547            //ifex _Triplanar_Layer0_Metallic_Gloss_Enabled==0
548            [HideInInspector] m_start_Triplanar_Layer0_Metallic_Gloss("Metallic Gloss", Float) = 0
549              [ThryToggle(_TRIPLANAR_LAYER0_METALLIC_GLOSS)] _Triplanar_Layer0_Metallic_Gloss_Enabled("Enable", Float) = 0
550              _Triplanar_Layer0_Metallic_Gloss("Metallic Gloss", 2D) = "white" {}
551              _Triplanar_Layer0_Metallic("Metallic", Range(0, 1)) = 0
552              _Triplanar_Layer0_Smoothness("Smoothness", Range(0, 1)) = 0.5
553            [HideInInspector] m_end_Triplanar_Layer0_Metallic_Gloss("Metallic Gloss", Float) = 0
554            //endex
555
556            //ifex _Triplanar_Layer0_Burley_Enabled==0
557            [HideInInspector] m_start_Triplanar_Layer0_Burley("Burley/Gaussian Mixing", Float) = 0
558              [ThryToggle(_TRIPLANAR_LAYER0_BURLEY)] _Triplanar_Layer0_Burley_Enabled("Burley/Gaussian Mixing", Float) = 0
559              _Triplanar_Layer0_Burley_Blend_Gamma("Blend Gamma", Range(0, 8)) = 4
560              _Triplanar_Layer0_MainTex_Burley_LUT("Base color LUT", 2D) = "white" {}
561              [Gradient] _Triplanar_Layer0_Normal_Burley_LUT("Normal LUT", 2D) = "white" {}
562              [Gradient] _Triplanar_Layer0_Metallic_Gloss_Burley_LUT("Metallic Gloss LUT", 2D) = "white" {}
563            [HideInInspector] m_end_Triplanar_Layer0_Burley("Burley/Gaussian Mixing", Float) = 0
564            //endex
565
566          [HideInInspector] m_end_Triplanar_Layer0("Triplanar Layer 0", Float) = 0
567          //endex
568        [HideInInspector] m_end_Triplanar_Layers("Triplanar Layers", Float) = 0
569
570        [HideInInspector] m_start_Matcaps("Matcaps", Float) = 0
571          //ifex _Matcap0_Enabled==0
572          [HideInInspector] m_start_Matcap0("Matcap 0", Float) = 0
573            [ThryToggle(_MATCAP0)] _Matcap0_Enabled("Enable", Float) = 0
574            _Matcap0("Matcap", 2D) = "white" {}
575            _Matcap0_Strength("Strength", Range(-10, 10)) = 1
576            [ThryWideEnum(Replace, 0, Add, 1, Multiply, 2, Subtract, 3, Add Product, 4)] _Matcap0_Mode("Mode", Int) = 0
577            [Toggle] _Matcap0_Invert("Invert", Float) = 0
578            [ThryToggle(_MATCAP0_ALBEDO_CLAMP)] _Matcap0_Albedo_Clamp("Clamp albedo", Float) = 0
579
580            //ifex _Matcap0_Quantization_Enabled==0
581            [HideInInspector] m_start_Matcap0_Quantization("Quantization", Float) = 0
582              [ThryToggle(_MATCAP0_QUANTIZATION)] _Matcap0_Quantization_Enabled("Enable", Float) = 0
583              [IntRange] _Matcap0_Quantization_Steps("Steps", Range(1, 32)) = 8
584            [HideInInspector] m_end_Matcap0_Quantization("Quantization", Float) = 0
585            //endex
586
587            //ifex _Matcap0_Mask_Enabled==0
588            [HideInInspector] m_start_Matcap0_Mask("Mask", Float) = 0
589              [ThryToggle(_MATCAP0_MASK)] _Matcap0_Mask_Enabled("Enable", Float) = 0
590              _Matcap0_Mask("Mask", 2D) = "white" {}
591            [HideInInspector] m_end_Matcap0_Mask("Mask", Float) = 0
592            //endex
593          [HideInInspector] m_end_Matcap0("Matcap 0", Float) = 0
594          //endex
595
596          //ifex _Matcap1_Enabled==0
597          [HideInInspector] m_start_Matcap1("Matcap 1", Float) = 0
598            [ThryToggle(_MATCAP1)] _Matcap1_Enabled("Enable", Float) = 0
599            _Matcap1("Matcap", 2D) = "white" {}
600            _Matcap1_Strength("Strength", Range(-10, 10)) = 1
601            [ThryWideEnum(Replace, 0, Add, 1, Multiply, 2, Subtract, 3, Add Product, 4)] _Matcap1_Mode("Mode", Int) = 0
602            [Toggle] _Matcap1_Invert("Invert", Float) = 0
603            [ThryToggle(_MATCAP1_ALBEDO_CLAMP)] _Matcap1_Albedo_Clamp("Clamp albedo", Float) = 0
604
605            //ifex _Matcap1_Quantization_Enabled==0
606            [HideInInspector] m_start_Matcap1_Quantization("Quantization", Float) = 0
607              [ThryToggle(_MATCAP1_QUANTIZATION)] _Matcap1_Quantization_Enabled("Enable", Float) = 0
608              [IntRange] _Matcap1_Quantization_Steps("Steps", Range(1, 32)) = 8
609            [HideInInspector] m_end_Matcap1_Quantization("Quantization", Float) = 0
610            //endex
611
612            //ifex _Matcap1_Mask_Enabled==0
613            [HideInInspector] m_start_Matcap1_Mask("Mask", Float) = 0
614              [ThryToggle(_MATCAP1_MASK)] _Matcap1_Mask_Enabled("Enable", Float) = 0
615              _Matcap1_Mask("Mask", 2D) = "white" {}
616            [HideInInspector] m_end_Matcap1_Mask("Mask", Float) = 0
617            //endex
618          [HideInInspector] m_end_Matcap1("Matcap 1", Float) = 0
619          //endex
620        [HideInInspector] m_end_Matcaps("Matcaps", Float) = 0
621
622        [HideInInspector] m_start_Rim_Lightings("Rim Lighting", Float) = 0
623          //ifex _Rim_Lighting0_Enabled==0
624          [HideInInspector] m_start_Rim_Lighting0("Rim Lighting 0", Float) = 0
625            [ThryToggle(_RIM_LIGHTING0)] _Rim_Lighting0_Enabled("Enable", Float) = 0
626            [HDR] _Rim_Lighting0_Color("Color", Color) = (1, 1, 1, 1)
627            _Rim_Lighting0_Center("Center", Range(0, 1)) = 1
628            _Rim_Lighting0_Blur("Blur", Range(0, 1)) = 0.1
629            [ThryWideEnum(Replace, 0, Add, 1, Multiply, 2, Subtract, 3, Add Product, 4)] _Rim_Lighting0_Mode("Mode", Int) = 1
630
631            //ifex _Rim_Lighting0_Quantization_Enabled==0
632            [HideInInspector] m_start_Rim_Lighting0_Quantization("Quantization", Float) = 0
633              [ThryToggle(_RIM_LIGHTING0_QUANTIZATION)] _Rim_Lighting0_Quantization_Enabled("Enable", Float) = 0
634              [IntRange] _Rim_Lighting0_Quantization_Steps("Steps", Range(1, 32)) = 8
635            [HideInInspector] m_end_Rim_Lighting0_Quantization("Quantization", Float) = 0
636            //endex
637
638            //ifex _Rim_Lighting0_Mask_Enabled==0
639            [HideInInspector] m_start_Rim_Lighting0_Mask("Mask", Float) = 0
640              [ThryToggle(_RIM_LIGHTING0_MASK)] _Rim_Lighting0_Mask_Enabled("Enable", Float) = 0
641              _Rim_Lighting0_Mask("Mask", 2D) = "white" {}
642            [HideInInspector] m_end_Rim_Lighting0_Mask("Mask", Float) = 0
643            //endex
644          [HideInInspector] m_end_Rim_Lighting0("Rim Lighting 0", Float) = 0
645          //endex
646        [HideInInspector] m_end_Rim_Lightings("Rim Lighting", Float) = 0
647
648        //ifex _Shadows_Enabled==0
649        [HideInInspector] m_start_Shadows("Shadows", Float) = 0
650          [ThryToggle(_SHADOWS)] _Shadows_Enabled("Enable", Float) = 0
651
652          [HideInInspector] m_start_Shadow_0("Shadow 0", Float) = 0
653            _Shadow_0_Color("Color 0", Color) = (0, 0, 0, 0)
654            _Shadow_0_Threshold("Threshold 0", Range(0, 1)) = 0.5
655            _Shadow_0_Blur("Blur 0", Range(0, 1)) = 0.1
656          [HideInInspector] m_end_Shadow_0("Shadow 0", Float) = 0
657
658          //ifex _Shadow_1_Enabled==0
659          [HideInInspector] m_start_Shadow_1("Shadow 1", Float) = 0
660            [ThryToggle(_SHADOW_1)] _Shadow_1_Enabled("Enable", Float) = 0
661            _Shadow_1_Color("Color 1", Color) = (0, 0, 0, 0)
662            _Shadow_1_Threshold("Threshold 1", Range(0, 1)) = 0.5
663            _Shadow_1_Blur("Blur 1", Range(0, 1)) = 0.1
664          [HideInInspector] m_end_Shadow_1("Shadow 1", Float) = 0
665          //endex
666
667        [HideInInspector] m_end_Shadows("Shadows", Float) = 0
668        //endex
669
670        //ifex _Clearcoat_Enabled==0
671        [HideInInspector] m_start_Clearcoat("Clearcoat", Float) = 0
672          [ThryToggle(_CLEARCOAT)] _Clearcoat_Enabled("Enable", Float) = 0
673          _Clearcoat_Strength("Strength", Range(0, 1)) = 0
674          _Clearcoat_Roughness("Roughness", Range(0, 1)) = 0
675
676          //ifex _Clearcoat_Normals_Enabled==0
677          [HideInInspector] m_start_Clearcoat_Normals("Clearcoat Normals", Float) = 0
678            [ThryToggle(_CLEARCOAT_NORMALS)] _Clearcoat_Normals_Enabled("Enable", Float) = 0
679            [Normal] _Clearcoat_Normals("Normal Map", 2D) = "bump" {}
680            _Clearcoat_Normals_Strength("Strength", Range(0, 10)) = 1
681          [HideInInspector] m_end_Clearcoat_Normals("Clearcoat Normals", Float) = 0
682          //endex
683
684          //ifex _Clearcoat_Mask_Enabled==0
685          [HideInInspector] m_start_Clearcoat_Mask("Clearcoat Mask", Float) = 0
686            [ThryToggle(_CLEARCOAT_MASK)] _Clearcoat_Mask_Enabled("Enable", Float) = 0
687            _Clearcoat_Mask("Mask", 2D) = "white" {}
688          [HideInInspector] m_end_Clearcoat_Mask("Clearcoat Mask", Float) = 0
689          //endex
690        [HideInInspector] m_end_Clearcoat("Clearcoat", Float) = 0
691        //endex
692
693        //ifex _Brightness_Multiplier_Enabled==0
694        [HideInInspector] m_start_Brightness_Multiplier("Brightness Multiplier", Float) = 0
695          [ThryToggle(_BRIGHTNESS_MULTIPLIER)] _Brightness_Multiplier_Enabled("Enable", Float) = 0
696          [DoNotLock] _Brightness_Multiplier("Brightness multiplier", Range(0, 2)) = 1
697        [HideInInspector] m_end_Brightness_Multiplier("Brightness Multiplier", Float) = 0
698        //endex
699
700        //ifex _Brightness_Clamp_Enabled==0
701        [HideInInspector] m_start_Brightness_Clamp("Brightness Clamp", Float) = 0
702          [ThryToggle(_BRIGHTNESS_CLAMP)] _Brightness_Clamp_Enabled("Enable", Float) = 0
703          [DoNotLock] _Brightness_Clamp_Min("Min", Range(0, 1)) = 0.05
704          [DoNotLock] _Brightness_Clamp_Max("Max", Range(0, 10)) = 10
705        [HideInInspector] m_end_Brightness_Clamp("Brightness Clamp", Float) = 0
706        //endex
707
708        //ifex _Wrapped_Lighting_Enabled==0
709        [HideInInspector] m_start_Wrapped_Lighting("Wrapped Lighting", Float) = 0
710          [ThryToggle(_WRAPPED_LIGHTING)] _Wrapped_Lighting_Enabled("Enable", Float) = 0
711          [DoNotLock] _Wrapped_Lighting_Amount("Amount", Range(0, 1)) = 0.5
712        [HideInInspector] m_end_Wrapped_Lighting("Wrapped Lighting", Float) = 0
713        //endex
714
715        //ifex _Outlines_Enabled==0
716        [HideInInspector] m_start_Outlines("Outlines", Float) = 0
717          [ThryToggle(_OUTLINES)] _Outlines_Enabled("Enable", Float) = 0
718          _Outlines_Color("Color", Color) = (1, 1, 1, 1)
719          _Outlines_Width("Width", Range(0, 1)) = 0.01
720          _Outlines_Thickness("Thickness", 2D) = "white" {}
721        [HideInInspector] m_end_Outlines("Outlines", Float) = 0
722        //endex
723
724        //ifex _Glitter_Enabled==0
725        [HideInInspector] m_start_Glitter("Glitter", Float) = 0
726          [ThryToggle(_GLITTER)] _Glitter_Enabled("Enable", Float) = 0
727          _Glitter_Amount("Amount", Range(0, 4)) = 0.5
728          _Glitter_Roughness("Roughness", Range(0.001, 0.1)) = 0.01
729          [IntRange] _Glitter_Angular_Cells("Angular Cells", Range(1, 4)) = 4
730          _Glitter_Filter_Size("Filter Size", Range(0.1, 2.0)) = 0.7
731          [HDR] _Glitter_Tint("Tint", Color) = (1, 1, 1, 1)
732          [IntRange] _Glitter_UV_Channel("UV Channel", Range(0, 3)) = 0
733
734          //ifex _Glitter_Mask_Enabled==0
735          [HideInInspector] m_start_Glitter_Mask("Mask", Float) = 0
736            [ThryToggle(_GLITTER_MASK)] _Glitter_Mask_Enabled("Enable", Float) = 0
737            _Glitter_Mask("Mask", 2D) = "white" {}
738          [HideInInspector] m_end_Glitter_Mask("Mask", Float) = 0
739          //endex
740
741          //ifex _Glitter_Base_Roughness_Override_Enabled==0
742          [HideInInspector] m_start_Glitter_Base_Roughness_Override("Base Roughness Override", Float) = 0
743            [ThryToggle(_GLITTER_BASE_ROUGHNESS_OVERRIDE)] _Glitter_Base_Roughness_Override_Enabled("Enable", Float) = 0
744            _Glitter_Base_Roughness_Override("Base Roughness Override", Range(0, 1)) = 0.5
745          [HideInInspector] m_end_Glitter_Base_Roughness_Override("Base Roughness Override", Float) = 0
746          //endex
747
748          //ifex _Glitter_Normal_Override_Enabled==0
749          [HideInInspector] m_start_Glitter_Normal_Override("Normal Override", Float) = 0
750            [ThryToggle(_GLITTER_NORMAL_OVERRIDE)] _Glitter_Normal_Override_Enabled("Enable", Float) = 0
751            _Glitter_Normal_Override("Normal override (object space)", 2D) = "bump" {}
752          [HideInInspector] m_end_Glitter_Normal_Override("Normal Override", Float) = 0
753          //endex
754        [HideInInspector] m_end_Glitter("Glitter", Float) = 0
755        //endex
756
757        //ifex _Parallax_Heightmap_Enabled==0
758        [HideInInspector] m_start_Parallax_Heightmap("Parallax Heightmap", Float) = 0
759          [ThryToggle(_PARALLAX_HEIGHTMAP)] _Parallax_Heightmap_Enabled("Enable", Float) = 0
760          _Parallax_Heightmap_Scale("Scale", Float) = 1
761          _Parallax_Heightmap_Bias("Neutral point", Float) = 0.5
762
763          //ifex _Parallax_Heightmap_Texture_Enabled==0
764          [HideInInspector] m_start_Parallax_Heightmap_Texture("Heightmap", Float) = 0
765            [ThryToggle(_PARALLAX_HEIGHTMAP_TEXTURE)] _Parallax_Heightmap_Texture_Enabled("Enable", Float) = 0
766            _Parallax_Heightmap("Texture", 2D) = "gray" {}
767          [HideInInspector] m_end_Parallax_Heightmap_Texture("Heightmap", Float) = 0
768          //endex
769
770          //ifex _Parallax_Heightmap_Ray_Marching_Enabled==0
771          [HideInInspector] m_start_Parallax_Heightmap_Ray_Marching("Parallax Heightmap Ray Marching", Float) = 0
772            [ThryToggle(_PARALLAX_HEIGHTMAP_RAY_MARCHING)] _Parallax_Heightmap_Ray_Marching_Enabled("Enable", Float) = 0
773            [IntRange] _Parallax_Heightmap_Ray_Marching_Steps("Steps", Range(1, 10)) = 5
774          [HideInInspector] m_end_Parallax_Heightmap_Ray_Marching("Parallax Heightmap Ray Marching", Float) = 0
775          //endex
776        [HideInInspector] m_end_Parallax_Heightmap("Parallax Heightmap", Float) = 0
777        //endex
778
779        //ifex _Burley_Tiling_Enabled==0
780        [HideInInspector] m_start_Burley_Tiling("Burley Tiling", Float) = 0
781          [ThryToggle(_BURLEY_TILING)] _Burley_Tiling_Enabled("Enable", Float) = 0
782          _Burley_Tiling_Input_Scale("Input scale", Range(0, 1)) = 0.5
783          _Burley_Tiling_Output_Scale("Output scale", Range(0, 1)) = 0.5
784          _Burley_Tiling_Blend_Gamma("Blend gamma", Range(0.1, 8)) = 2.0
785
786          //ifex _Burley_Tiling_Rotation_Constraint_Enabled==0
787          [HideInInspector] m_start_Burley_Tiling_Rotation_Constraint("Rotation Constraint", Float) = 0
788            [ThryToggle(_BURLEY_TILING_ROTATION_CONSTRAINT)] _Burley_Tiling_Rotation_Constraint_Enabled("Enable", Float) = 0
789            _Burley_Tiling_Rotation_Constraint("Rotation freedom", Range(0, 1)) = 1
790          [HideInInspector] m_end_Burley_Tiling_Rotation_Constraint("Rotation Constraint", Float) = 0
791          //endex
792
793          //ifex _Burley_Tiling_Maintex_Enabled==0
794          [HideInInspector] m_start_Burley_Tiling_Maintex("Base color", Float) = 0
795            [ThryToggle(_BURLEY_TILING_MAINTEX)] _Burley_Tiling_Maintex_Enabled("Enable", Float) = 0
796            _Burley_Tiling_Maintex("Base color", 2D) = "white" {}
797            [Gradient] _Burley_Tiling_Maintex_LUT("Base color LUT", 2D) = "white" {}
798          [HideInInspector] m_end_Burley_Tiling_Maintex("Base color", Float) = 0
799          //endex
800
801          //ifex _Burley_Tiling_Ambient_Occlusion_Enabled==0
802          [HideInInspector] m_start_Burley_Tiling_Ambient_Occlusion("Ambient Occlusion", Float) = 0
803            [ThryToggle(_BURLEY_TILING_AMBIENT_OCCLUSION)] _Burley_Tiling_Ambient_Occlusion_Enabled("Enable", Float) = 0
804            _Burley_Tiling_Ambient_Occlusion_Map("Texture", 2D) = "white" {}
805            [Gradient] _Burley_Tiling_Ambient_Occlusion_Map_LUT("LUT", 2D) = "white" {}
806          [HideInInspector] m_end_Burley_Tiling_Ambient_Occlusion("Ambient Occlusion", Float) = 0
807          //endex
808
809          //ifex _Burley_Tiling_Smoothness_Enabled==0
810          [HideInInspector] m_start_Burley_Tiling_Smoothness("Smoothness", Float) = 0
811            [ThryToggle(_BURLEY_TILING_SMOOTHNESS)] _Burley_Tiling_Smoothness_Enabled("Enable", Float) = 0
812            _Burley_Tiling_Smoothness_Map("Texture", 2D) = "white" {}
813            [Gradient] _Burley_Tiling_Smoothness_Map_LUT("LUT", 2D) = "white" {}
814
815            //ifex _Burley_Tiling_Smoothness_Invert_Enabled==0
816            [HideInInspector] m_start_Burley_Tiling_Smoothness_Invert("Invert", Float) = 0
817              [ThryToggle(_BURLEY_TILING_SMOOTHNESS_INVERT)] _Burley_Tiling_Smoothness_Invert_Enabled("Enable", Float) = 0
818            [HideInInspector] m_end_Burley_Tiling_Smoothness_Invert("Invert", Float) = 0
819            //endex
820          [HideInInspector] m_end_Burley_Tiling_Smoothness("Smoothness", Float) = 0
821          //endex
822
823          //ifex _Burley_Tiling_Normal_Enabled==0
824          [HideInInspector] m_start_Burley_Tiling_Normal("Normal", Float) = 0
825            [ThryToggle(_BURLEY_TILING_NORMAL)] _Burley_Tiling_Normal_Enabled("Enable", Float) = 0
826            _Burley_Tiling_Normal_Map("Texture", 2D) = "white" {}
827            _Burley_Tiling_Normal_Map_LUT("LUT", 2D) = "white" {}
828            _Burley_Tiling_Normal_Strength("Strength", Range(0, 10)) = 1
829          [HideInInspector] m_end_Burley_Tiling_Normal("Normal", Float) = 0
830          //endex
831
832          //ifex _Burley_Tiling_Heightmap_Enabled==0
833          [HideInInspector] m_start_Burley_Tiling_Heightmap("Heightmap", Float) = 0
834            [ThryToggle(_BURLEY_TILING_HEIGHTMAP)] _Burley_Tiling_Heightmap_Enabled("Enable", Float) = 0
835            _Burley_Tiling_Heightmap("Texture", 2D) = "gray" {}
836            [Gradient] _Burley_Tiling_Heightmap_LUT("LUT", 2D) = "white" {}
837          [HideInInspector] m_end_Burley_Tiling_Heightmap("Heightmap", Float) = 0
838          //endex
839
840        [HideInInspector] m_end_Burley_Tiling("Burley Tiling", Float) = 0
841        //endex
842
843      [HideInInspector] m_end_Main("Main", Float) = 0
844
845      [HideInInspector] m_start_Gimmicks("Gimmicks", Float) = 0
846        //ifex _Geometry_Shader_Enabled==0
847        [HideInInspector] m_start_Geometry_Shader("Geometry Shader", Float) = 0
848          [ThryToggle(_GEOMETRY_SHADER)] _Geometry_Shader_Enabled("Enable", Float) = 0
849          //ifex _Center_Offset_Enabled==0
850          [HideInInspector] m_start_Center_Offset("Center offset", Float) = 0
851            [ThryToggle(_CENTER_OFFSET)] _Center_Offset_Enabled("Enable", Float) = 0
852            _Center_Offset_Heightmap("Heightmap", 2D) = "black" {}
853            _Center_Offset_Factor("Factor", Range(-1, 1)) = 1
854          [HideInInspector] m_end_Center_Offset("Center offset", Float) = 0
855          //endex
856        [HideInInspector] m_end_Geometry_Shader("Geometry Shader", Float) = 0
857        //endex
858
859        //ifex _Ray_Marching_Enabled==0
860        [HideInInspector] m_start_Ray_Marching("Ray Marching", Float) = 0
861          [ThryToggle(_RAY_MARCHING)] _Ray_Marching_Enabled("Enable", Float) = 0
862
863          _Ray_Marching_Max_Dist("Max dist", Float) = 1
864          _Ray_Marching_Min_Dist("Min dist", Float) = 0.0001
865          _Ray_Marching_Max_Iter("Max iterations", Range(0,50)) = 10
866
867          //ifex _Ray_Marching_Overstepping_Enabled==0
868          [HideInInspector] m_start_Ray_Marching_Overstepping("Overstepping", Float) = 0
869            [ThryToggle(_RAY_MARCHING_OVERSTEP)] _Ray_Marching_Overstepping_Enabled("Enable", Float) = 0
870            _Ray_Marching_Overstepping_Factor("Factor", Range(1,5)) = 1.3
871          [HideInInspector] m_end_Ray_Marching_Overstepping("Overstepping", Float) = 0
872          //endex
873
874          //ifex _Ray_Marching_Correct_Repetition_Enabled==0
875          [HideInInspector] m_start_Ray_Marching_Correct_Repetition("Correct Repetition", Float) = 0
876            [ThryToggle(_RAY_MARCHING_CORRECT_REPETITION)] _Ray_Marching_Correct_Repetition_Enabled("Enable", Float) = 0
877          [HideInInspector] m_end_Ray_Marching_Correct_Repetition("Correct Repetition", Float) = 0
878          //endex
879
880          //ifex _Ray_Marching_Baked_Origins_Enabled==0
881          [HideInInspector] m_start_Ray_Marching_Baked_Origins("Baked Origins", Float) = 0
882            [ThryToggle(_RAY_MARCHING_BAKED_ORIGINS)] _Ray_Marching_Baked_Origins_Enabled("Enable", Float) = 0
883            [IntRange] _Baked_Origins_UV_Channel_Index("UV Channel Index", Range(0, 3)) = 1
884          [HideInInspector] m_end_Ray_Marching_Baked_Origins("Baked Origins", Float) = 0
885          //endex
886
887          [HideInInspector] m_start_Ray_Marching_Instancing("Instancing and domain repetition", Float) = 0
888            //ifex _Ray_Marching_Cart_Instancing_Enabled==0
889            [HideInInspector] m_start_Ray_Marching_Cart_Instancing("Cartesian Instancing", Float) = 0
890              [ThryToggle(_RAY_MARCHING_CART_INSTANCING)] _Ray_Marching_Cart_Instancing_Enabled("Enable", Float) = 0
891              [IntRange] _Ray_Marching_Cart_Instancing_Count_X("Count X", Range(1,3)) = 1
892              [IntRange] _Ray_Marching_Cart_Instancing_Count_Y("Count Y", Range(1,3)) = 1
893              [IntRange] _Ray_Marching_Cart_Instancing_Count_Z("Count Z", Range(1,3)) = 1
894              _Ray_Marching_Cart_Instancing_Span_X("Span X", Range(0,2)) = 0.1
895              _Ray_Marching_Cart_Instancing_Span_Y("Span Y", Range(0,2)) = 0.1
896              _Ray_Marching_Cart_Instancing_Span_Z("Span Z", Range(0,2)) = 0.1
897
898              //ifex _Ray_Marching_Cart_Instancing_Offsets_Enabled==0
899              [HideInInspector] m_start_Ray_Marching_Cart_Instancing_Offsets("Offsets", Float) = 0
900                [ThryToggle(_RAY_MARCHING_CART_INSTANCING_OFFSETS)] _Ray_Marching_Cart_Instancing_Offsets_Enabled("Enable", Float) = 0
901                _Ray_Marching_Cart_Instancing_Offsets_X_Every_Y("X every Y", Range(0,1)) = 0
902                _Ray_Marching_Cart_Instancing_Offsets_X_Every_Z("X every Z", Range(0,1)) = 0
903                _Ray_Marching_Cart_Instancing_Offsets_Y_Every_X("Y every X", Range(0,1)) = 0
904                _Ray_Marching_Cart_Instancing_Offsets_Y_Every_Z("Y every Z", Range(0,1)) = 0
905                _Ray_Marching_Cart_Instancing_Offsets_Z_Every_X("Z every X", Range(0,1)) = 0
906                _Ray_Marching_Cart_Instancing_Offsets_Z_Every_Y("Z every Y", Range(0,1)) = 0
907              [HideInInspector] m_end_Ray_Marching_Cart_Instancing_Offsets("Offsets", Float) = 0
908              //endex
909            [HideInInspector] m_end_Ray_Marching_Cart_Instancing("Cartesian Instancing", Float) = 0
910            //endex
911
912            //ifex _Ray_Marching_Cart_Grid_Enabled==0
913            [HideInInspector] m_start_Ray_Marching_Cart_Grid("Cartesian Domain Repetition", Float) = 0
914              [ThryToggle(_RAY_MARCHING_CART_GRID)] _Ray_Marching_Cart_Grid_Enabled("Enable", Float) = 0
915              [IntRange] _Ray_Marching_Cart_Grid_Count_X("Count X", Range(0,40)) = 5
916              [IntRange] _Ray_Marching_Cart_Grid_Count_Y("Count Y", Range(0,40)) = 5
917              [IntRange] _Ray_Marching_Cart_Grid_Count_Z("Count Z", Range(0,40)) = 5
918              _Ray_Marching_Cart_Grid_Span_X("Span X", Range(0,40)) = 0.1
919              _Ray_Marching_Cart_Grid_Span_Y("Span Y", Range(0,40)) = 0.1
920              _Ray_Marching_Cart_Grid_Span_Z("Span Z", Range(0,40)) = 0.1
921            [HideInInspector] m_end_Ray_Marching_Cart_Grid("Cartesian Domain Repetition", Float) = 0
922            //endex
923
924            //ifex _Ray_Marching_Hex_Grid_Enabled==0
925            [HideInInspector] m_start_Ray_Marching_Hex_Grid("Hexagonal Domain Repetition", Float) = 0
926              [ThryToggle(_RAY_MARCHING_HEX_GRID)] _Ray_Marching_Hex_Grid_Enabled("Enable", Float) = 0
927              _Ray_Marching_Hex_Grid_Count("CountX", Range(0,40)) = 5
928            [HideInInspector] m_end_Ray_Marching_Hex_Grid("Hexagonal Domain Repetition", Float) = 0
929            //endex
930          [HideInInspector] m_end_Ray_Marching_Instancing("Instancing and domain repetition", Float) = 0
931
932          //ifex _Ray_Marching_Scaling_Enabled==0
933          [HideInInspector] m_start_Ray_Marching_Scaling("Scaling", Float) = 0
934            [ThryToggle(_RAY_MARCHING_SCALING)] _Ray_Marching_Scaling_Enabled("Enable", Float) = 0
935            _Ray_Marching_Scaling_Factor_X("Factor X", Range(0.9,1.1)) = 1
936            _Ray_Marching_Scaling_Factor_Y("Factor Y", Range(0.9,1.1)) = 1
937            _Ray_Marching_Scaling_Factor_Z("Factor Z", Range(0.9,1.1)) = 1
938          [HideInInspector] m_end_Ray_Marching_Scaling("Scaling", Float) = 0
939          //endex
940
941          [HideInInspector] m_start_Ray_Marching_Primitives("Primitives", Float) = 0
942            //ifex _Ray_Marching_Ball_Enabled==0
943            [HideInInspector] m_start_Ray_Marching_Ball("Ball", Float) = 0
944              [ThryToggle(_RAY_MARCHING_BALL)] _Ray_Marching_Ball_Enabled("Enable", Float) = 0
945              _Ray_Marching_Ball_Radius("Radius", Range(0,1)) = 1
946            [HideInInspector] m_end_Ray_Marching_Ball("Ball", Float) = 0
947            //endex
948
949            //ifex _Ray_Marching_Hexagon_Enabled==0
950            [HideInInspector] m_start_Ray_Marching_Hexagon("Hexagon", Float) = 0
951              [ThryToggle(_RAY_MARCHING_HEXAGON)] _Ray_Marching_Hexagon_Enabled("Enable", Float) = 0
952              _Ray_Marching_Hexagon_Radius("Radius", Range(0,1)) = 0.1
953              _Ray_Marching_Hexagon_Height("Height", Range(0,1)) = 0.1
954            [HideInInspector] m_end_Ray_Marching_Hexagon("Hexagon", Float) = 0
955            //endex
956          [HideInInspector] m_end_Ray_Marching_Primitives("Primitives", Float) = 0
957
958        [HideInInspector] m_end_Ray_Marching("Ray Marching", Float) = 0
959        //endex
960
961        //ifex _Logical_Time_Enabled==0
962        [HideInInspector] m_start_Logical_Time("Logical Time", Float) = 0
963          [ThryToggle(_LOGICAL_TIME)] _Logical_Time_Enabled("Enable", Float) = 0
964          _Logical_Time("Time", Float) = 0
965        [HideInInspector] m_end_Logical_Time("Logical Time", Float) = 0
966        //endex
967
968        //ifex _Aperiodic_Tiling_Enabled==0
969        [HideInInspector] m_start_Aperiodic_Tiling("Aperiodic Tiling", Float) = 0
970          [ThryToggle(_APERIODIC_TILING)] _Aperiodic_Tiling_Enabled("Enable", Float) = 0
971          _Aperiodic_Tiling_Scale("Scale", Float) = 1
972          _Aperiodic_Tiling_Edge_Thickness("Edge Thickness", Range(0, 0.5)) = 0.04
973          [HDR] _Aperiodic_Tiling_Edge_Color("Edge Color", Color) = (0.04, 0.1, 0.04, 1)
974          [HDR] _Aperiodic_Tiling_Color_0("Face 0-1", Color) = (0.4, 0.9, 0.4, 1)
975          [HDR] _Aperiodic_Tiling_Color_1("Face 0-2", Color) = (0.6, 0.7, 0.2, 1)
976          [HDR] _Aperiodic_Tiling_Color_2("Face 0-3", Color) = (0.3, 0.5, 0.0, 1)
977          [HDR] _Aperiodic_Tiling_Color_3("Face 0-4", Color) = (0.2, 0.3, 0.0, 1)
978          [HDR] _Aperiodic_Tiling_Color_4("Face 1-2", Color) = (0.0, 0.3, 0.2, 1)
979          [HDR] _Aperiodic_Tiling_Color_5("Face 1-3", Color) = (0.0, 0.5, 0.4, 1)
980          [HDR] _Aperiodic_Tiling_Color_6("Face 1-4", Color) = (0.2, 0.7, 0.6, 1)
981          [HDR] _Aperiodic_Tiling_Color_7("Face 2-3", Color) = (0.3, 0.6, 0.0, 1)
982          [HDR] _Aperiodic_Tiling_Color_8("Face 2-4", Color) = (0.0, 0.4, 0.0, 1)
983          [HDR] _Aperiodic_Tiling_Color_9("Face 3-4", Color) = (0.0, 0.6, 0.3, 1)
984
985          //ifex _Aperiodic_Tiling_Normals_Enabled==0
986          [HideInInspector] m_start_Aperiodic_Tiling_Normals("Normals", Float) = 0
987            [ThryToggle(_APERIODIC_TILING_NORMALS)] _Aperiodic_Tiling_Normals_Enabled("Enable", Float) = 0
988            _Aperiodic_Tiling_Normal_Strength("Strength", Range(0, 4)) = 1
989            _Aperiodic_Tiling_Normal_Thickness("Thickness", Range(0, 0.5)) = 0.08
990          [HideInInspector] m_end_Aperiodic_Tiling_Normals("Normals", Float) = 0
991          //endex
992        [HideInInspector] m_end_Aperiodic_Tiling("Aperiodic Tiling", Float) = 0
993        //endex
994
995        //ifex _Zebra_Enabled==0
996        [HideInInspector] m_start_Zebra("Zebra", Float) = 0
997          [ThryToggle(_ZEBRA)] _Zebra_Enabled("Enable", Float) = 0
998          _Zebra_Scale("Scale", Float) = 1
999          _Zebra_Angle("Angle", Range(0, 1)) = 0
1000          _Zebra_X_Scale("X Scale", Range(0, 1)) = 1
1001          _Zebra_Normal_Strength("Normal Strength", Float) = 1
1002        [HideInInspector] m_end_Zebra("Zebra", Float) = 0
1003        //endex
1004
1005        //ifex _Custom31_World_Enabled==0
1006        [HideInInspector] m_start_Custom31_World("C31 World Gimmicks", Float) = 0
1007          [ThryToggle(_CUSTOM31_WORLD)] _Custom31_World_Enabled("Enable", Float) = 0
1008          [IntRange] _Custom31_World_Ray_March_Steps("Ray march steps", Range(1, 60)) = 10
1009          _Custom31_World_Ray_March_Min_Dist("Ray march min dist", Float) = 0.0001
1010          _Custom31_World_Ray_March_Max_Dist("Ray march max dist", Float) = 1
1011
1012          //ifex _Custom31_World_Hexagons_Enabled==0
1013          [HideInInspector] m_start_Custom31_World_Hexagons("Hexagons", Float) = 0
1014            [ThryToggle(_CUSTOM31_WORLD_HEXAGONS)] _Custom31_World_Hexagons_Enabled("Enable", Float) = 0
1015            _Custom31_World_Hexagons_Grid_Scale("Grid scale", Float) = 1
1016            _Custom31_World_Hexagons_Tile_Radius("Tile radius", Float) = 0.1
1017            _Custom31_World_Hexagons_Tile_Thickness("Tile thickness", Float) = 0.01
1018          [HideInInspector] m_end_Custom31_World_Hexagons("Hexagons", Float) = 0
1019          //endex
1020
1021        [HideInInspector] m_end_Custom31_World("Custom31 World", Float) = 0
1022        //endex
1023
1024        //ifex _Vertex_Deformation_Enabled==0
1025        [HideInInspector] m_start_Vertex_Deformation("Vertex Deformation", Float) = 0
1026          [ThryToggle(_VERTEX_DEFORMATION)] _Vertex_Deformation_Enabled("Enable", Float) = 0
1027
1028          [ThryToggle(_VERTEX_DEFORMATION_FRAGMENT_NORMALS)] _Vertex_Deformation_Fragment_Normals_Enabled("Fragment normals", Float) = 0
1029          [ThryToggle(_VERTEX_DEFORMATION_TESSELLATION)] _Vertex_Deformation_Tessellation_Enabled("Tesellation support", Float) = 1
1030
1031          _Vertex_Deformation_Slot_0_Enabled("Enabled", Float) = 0
1032          _Vertex_Deformation_Slot_0_Opcode("Opcode", Integer) = 0
1033          _Vertex_Deformation_Slot_0_Float_0("Float 0", Float) = 0
1034          _Vertex_Deformation_Slot_0_Float_1("Float 1", Float) = 0
1035          _Vertex_Deformation_Slot_0_Float_2("Float 2", Float) = 0
1036          _Vertex_Deformation_Slot_0_Float_3("Float 3", Float) = 0
1037          _Vertex_Deformation_Slot_0_Vector_0("Vector 0", Vector) = (0, 0, 0, 0)
1038          _Vertex_Deformation_Slot_0_Vector_1("Vector 1", Vector) = (0, 0, 0, 0)
1039          _Vertex_Deformation_Slot_0_Vector_2("Vector 2", Vector) = (0, 0, 0, 0)
1040          _Vertex_Deformation_Slot_0_Vector_3("Vector 3", Vector) = (0, 0, 0, 0)
1041
1042          _Vertex_Deformation_Slot_1_Enabled("Enabled", Float) = 0
1043          _Vertex_Deformation_Slot_1_Opcode("Opcode", Integer) = 0
1044          _Vertex_Deformation_Slot_1_Float_0("Float 0", Float) = 0
1045          _Vertex_Deformation_Slot_1_Float_1("Float 1", Float) = 0
1046          _Vertex_Deformation_Slot_1_Float_2("Float 2", Float) = 0
1047          _Vertex_Deformation_Slot_1_Float_3("Float 3", Float) = 0
1048          _Vertex_Deformation_Slot_1_Vector_0("Vector 0", Vector) = (0, 0, 0, 0)
1049          _Vertex_Deformation_Slot_1_Vector_1("Vector 1", Vector) = (0, 0, 0, 0)
1050          _Vertex_Deformation_Slot_1_Vector_2("Vector 2", Vector) = (0, 0, 0, 0)
1051          _Vertex_Deformation_Slot_1_Vector_3("Vector 3", Vector) = (0, 0, 0, 0)
1052
1053          _Vertex_Deformation_Slot_2_Enabled("Enabled", Float) = 0
1054          _Vertex_Deformation_Slot_2_Opcode("Opcode", Integer) = 0
1055          _Vertex_Deformation_Slot_2_Float_0("Float 0", Float) = 0
1056          _Vertex_Deformation_Slot_2_Float_1("Float 1", Float) = 0
1057          _Vertex_Deformation_Slot_2_Float_2("Float 2", Float) = 0
1058          _Vertex_Deformation_Slot_2_Float_3("Float 3", Float) = 0
1059          _Vertex_Deformation_Slot_2_Vector_0("Vector 0", Vector) = (0, 0, 0, 0)
1060          _Vertex_Deformation_Slot_2_Vector_1("Vector 1", Vector) = (0, 0, 0, 0)
1061          _Vertex_Deformation_Slot_2_Vector_2("Vector 2", Vector) = (0, 0, 0, 0)
1062          _Vertex_Deformation_Slot_2_Vector_3("Vector 3", Vector) = (0, 0, 0, 0)
1063
1064          _Vertex_Deformation_Slot_3_Enabled("Enabled", Float) = 0
1065          _Vertex_Deformation_Slot_3_Opcode("Opcode", Integer) = 0
1066          _Vertex_Deformation_Slot_3_Float_0("Float 0", Float) = 0
1067          _Vertex_Deformation_Slot_3_Float_1("Float 1", Float) = 0
1068          _Vertex_Deformation_Slot_3_Float_2("Float 2", Float) = 0
1069          _Vertex_Deformation_Slot_3_Float_3("Float 3", Float) = 0
1070          _Vertex_Deformation_Slot_3_Vector_0("Vector 0", Vector) = (0, 0, 0, 0)
1071          _Vertex_Deformation_Slot_3_Vector_1("Vector 1", Vector) = (0, 0, 0, 0)
1072          _Vertex_Deformation_Slot_3_Vector_2("Vector 2", Vector) = (0, 0, 0, 0)
1073          _Vertex_Deformation_Slot_3_Vector_3("Vector 3", Vector) = (0, 0, 0, 0)
1074
1075          _Vertex_Deformation_Slot_4_Enabled("Enabled", Float) = 0
1076          _Vertex_Deformation_Slot_4_Opcode("Opcode", Integer) = 0
1077          _Vertex_Deformation_Slot_4_Float_0("Float 0", Float) = 0
1078          _Vertex_Deformation_Slot_4_Float_1("Float 1", Float) = 0
1079          _Vertex_Deformation_Slot_4_Float_2("Float 2", Float) = 0
1080          _Vertex_Deformation_Slot_4_Float_3("Float 3", Float) = 0
1081          _Vertex_Deformation_Slot_4_Vector_0("Vector 0", Vector) = (0, 0, 0, 0)
1082          _Vertex_Deformation_Slot_4_Vector_1("Vector 1", Vector) = (0, 0, 0, 0)
1083          _Vertex_Deformation_Slot_4_Vector_2("Vector 2", Vector) = (0, 0, 0, 0)
1084          _Vertex_Deformation_Slot_4_Vector_3("Vector 3", Vector) = (0, 0, 0, 0)
1085
1086          _Vertex_Deformation_Slot_5_Enabled("Enabled", Float) = 0
1087          _Vertex_Deformation_Slot_5_Opcode("Opcode", Integer) = 0
1088          _Vertex_Deformation_Slot_5_Float_0("Float 0", Float) = 0
1089          _Vertex_Deformation_Slot_5_Float_1("Float 1", Float) = 0
1090          _Vertex_Deformation_Slot_5_Float_2("Float 2", Float) = 0
1091          _Vertex_Deformation_Slot_5_Float_3("Float 3", Float) = 0
1092          _Vertex_Deformation_Slot_5_Vector_0("Vector 0", Vector) = (0, 0, 0, 0)
1093          _Vertex_Deformation_Slot_5_Vector_1("Vector 1", Vector) = (0, 0, 0, 0)
1094          _Vertex_Deformation_Slot_5_Vector_2("Vector 2", Vector) = (0, 0, 0, 0)
1095          _Vertex_Deformation_Slot_5_Vector_3("Vector 3", Vector) = (0, 0, 0, 0)
1096
1097          _Vertex_Deformation_Slot_6_Enabled("Enabled", Float) = 0
1098          _Vertex_Deformation_Slot_6_Opcode("Opcode", Integer) = 0
1099          _Vertex_Deformation_Slot_6_Float_0("Float 0", Float) = 0
1100          _Vertex_Deformation_Slot_6_Float_1("Float 1", Float) = 0
1101          _Vertex_Deformation_Slot_6_Float_2("Float 2", Float) = 0
1102          _Vertex_Deformation_Slot_6_Float_3("Float 3", Float) = 0
1103          _Vertex_Deformation_Slot_6_Vector_0("Vector 0", Vector) = (0, 0, 0, 0)
1104          _Vertex_Deformation_Slot_6_Vector_1("Vector 1", Vector) = (0, 0, 0, 0)
1105          _Vertex_Deformation_Slot_6_Vector_2("Vector 2", Vector) = (0, 0, 0, 0)
1106          _Vertex_Deformation_Slot_6_Vector_3("Vector 3", Vector) = (0, 0, 0, 0)
1107
1108          _Vertex_Deformation_Slot_7_Enabled("Enabled", Float) = 0
1109          _Vertex_Deformation_Slot_7_Opcode("Opcode", Integer) = 0
1110          _Vertex_Deformation_Slot_7_Float_0("Float 0", Float) = 0
1111          _Vertex_Deformation_Slot_7_Float_1("Float 1", Float) = 0
1112          _Vertex_Deformation_Slot_7_Float_2("Float 2", Float) = 0
1113          _Vertex_Deformation_Slot_7_Float_3("Float 3", Float) = 0
1114          _Vertex_Deformation_Slot_7_Vector_0("Vector 0", Vector) = (0, 0, 0, 0)
1115          _Vertex_Deformation_Slot_7_Vector_1("Vector 1", Vector) = (0, 0, 0, 0)
1116          _Vertex_Deformation_Slot_7_Vector_2("Vector 2", Vector) = (0, 0, 0, 0)
1117          _Vertex_Deformation_Slot_7_Vector_3("Vector 3", Vector) = (0, 0, 0, 0)
1118
1119          _Vertex_Deformation_Slot_8_Enabled("Enabled", Float) = 0
1120          _Vertex_Deformation_Slot_8_Opcode("Opcode", Integer) = 0
1121          _Vertex_Deformation_Slot_8_Float_0("Float 0", Float) = 0
1122          _Vertex_Deformation_Slot_8_Float_1("Float 1", Float) = 0
1123          _Vertex_Deformation_Slot_8_Float_2("Float 2", Float) = 0
1124          _Vertex_Deformation_Slot_8_Float_3("Float 3", Float) = 0
1125          _Vertex_Deformation_Slot_8_Vector_0("Vector 0", Vector) = (0, 0, 0, 0)
1126          _Vertex_Deformation_Slot_8_Vector_1("Vector 1", Vector) = (0, 0, 0, 0)
1127          _Vertex_Deformation_Slot_8_Vector_2("Vector 2", Vector) = (0, 0, 0, 0)
1128          _Vertex_Deformation_Slot_8_Vector_3("Vector 3", Vector) = (0, 0, 0, 0)
1129
1130          _Vertex_Deformation_Slot_9_Enabled("Enabled", Float) = 0
1131          _Vertex_Deformation_Slot_9_Opcode("Opcode", Integer) = 0
1132          _Vertex_Deformation_Slot_9_Float_0("Float 0", Float) = 0
1133          _Vertex_Deformation_Slot_9_Float_1("Float 1", Float) = 0
1134          _Vertex_Deformation_Slot_9_Float_2("Float 2", Float) = 0
1135          _Vertex_Deformation_Slot_9_Float_3("Float 3", Float) = 0
1136          _Vertex_Deformation_Slot_9_Vector_0("Vector 0", Vector) = (0, 0, 0, 0)
1137          _Vertex_Deformation_Slot_9_Vector_1("Vector 1", Vector) = (0, 0, 0, 0)
1138          _Vertex_Deformation_Slot_9_Vector_2("Vector 2", Vector) = (0, 0, 0, 0)
1139          _Vertex_Deformation_Slot_9_Vector_3("Vector 3", Vector) = (0, 0, 0, 0)
1140
1141          _Vertex_Deformation_Slot_10_Enabled("Enabled", Float) = 0
1142          _Vertex_Deformation_Slot_10_Opcode("Opcode", Integer) = 0
1143          _Vertex_Deformation_Slot_10_Float_0("Float 0", Float) = 0
1144          _Vertex_Deformation_Slot_10_Float_1("Float 1", Float) = 0
1145          _Vertex_Deformation_Slot_10_Float_2("Float 2", Float) = 0
1146          _Vertex_Deformation_Slot_10_Float_3("Float 3", Float) = 0
1147          _Vertex_Deformation_Slot_10_Vector_0("Vector 0", Vector) = (0, 0, 0, 0)
1148          _Vertex_Deformation_Slot_10_Vector_1("Vector 1", Vector) = (0, 0, 0, 0)
1149          _Vertex_Deformation_Slot_10_Vector_2("Vector 2", Vector) = (0, 0, 0, 0)
1150          _Vertex_Deformation_Slot_10_Vector_3("Vector 3", Vector) = (0, 0, 0, 0)
1151
1152          _Vertex_Deformation_Slot_11_Enabled("Enabled", Float) = 0
1153          _Vertex_Deformation_Slot_11_Opcode("Opcode", Integer) = 0
1154          _Vertex_Deformation_Slot_11_Float_0("Float 0", Float) = 0
1155          _Vertex_Deformation_Slot_11_Float_1("Float 1", Float) = 0
1156          _Vertex_Deformation_Slot_11_Float_2("Float 2", Float) = 0
1157          _Vertex_Deformation_Slot_11_Float_3("Float 3", Float) = 0
1158          _Vertex_Deformation_Slot_11_Vector_0("Vector 0", Vector) = (0, 0, 0, 0)
1159          _Vertex_Deformation_Slot_11_Vector_1("Vector 1", Vector) = (0, 0, 0, 0)
1160          _Vertex_Deformation_Slot_11_Vector_2("Vector 2", Vector) = (0, 0, 0, 0)
1161          _Vertex_Deformation_Slot_11_Vector_3("Vector 3", Vector) = (0, 0, 0, 0)
1162
1163          _Vertex_Deformation_Slot_12_Enabled("Enabled", Float) = 0
1164          _Vertex_Deformation_Slot_12_Opcode("Opcode", Integer) = 0
1165          _Vertex_Deformation_Slot_12_Float_0("Float 0", Float) = 0
1166          _Vertex_Deformation_Slot_12_Float_1("Float 1", Float) = 0
1167          _Vertex_Deformation_Slot_12_Float_2("Float 2", Float) = 0
1168          _Vertex_Deformation_Slot_12_Float_3("Float 3", Float) = 0
1169          _Vertex_Deformation_Slot_12_Vector_0("Vector 0", Vector) = (0, 0, 0, 0)
1170          _Vertex_Deformation_Slot_12_Vector_1("Vector 1", Vector) = (0, 0, 0, 0)
1171          _Vertex_Deformation_Slot_12_Vector_2("Vector 2", Vector) = (0, 0, 0, 0)
1172          _Vertex_Deformation_Slot_12_Vector_3("Vector 3", Vector) = (0, 0, 0, 0)
1173
1174          _Vertex_Deformation_Slot_13_Enabled("Enabled", Float) = 0
1175          _Vertex_Deformation_Slot_13_Opcode("Opcode", Integer) = 0
1176          _Vertex_Deformation_Slot_13_Float_0("Float 0", Float) = 0
1177          _Vertex_Deformation_Slot_13_Float_1("Float 1", Float) = 0
1178          _Vertex_Deformation_Slot_13_Float_2("Float 2", Float) = 0
1179          _Vertex_Deformation_Slot_13_Float_3("Float 3", Float) = 0
1180          _Vertex_Deformation_Slot_13_Vector_0("Vector 0", Vector) = (0, 0, 0, 0)
1181          _Vertex_Deformation_Slot_13_Vector_1("Vector 1", Vector) = (0, 0, 0, 0)
1182          _Vertex_Deformation_Slot_13_Vector_2("Vector 2", Vector) = (0, 0, 0, 0)
1183          _Vertex_Deformation_Slot_13_Vector_3("Vector 3", Vector) = (0, 0, 0, 0)
1184
1185          _Vertex_Deformation_Slot_14_Enabled("Enabled", Float) = 0
1186          _Vertex_Deformation_Slot_14_Opcode("Opcode", Integer) = 0
1187          _Vertex_Deformation_Slot_14_Float_0("Float 0", Float) = 0
1188          _Vertex_Deformation_Slot_14_Float_1("Float 1", Float) = 0
1189          _Vertex_Deformation_Slot_14_Float_2("Float 2", Float) = 0
1190          _Vertex_Deformation_Slot_14_Float_3("Float 3", Float) = 0
1191          _Vertex_Deformation_Slot_14_Vector_0("Vector 0", Vector) = (0, 0, 0, 0)
1192          _Vertex_Deformation_Slot_14_Vector_1("Vector 1", Vector) = (0, 0, 0, 0)
1193          _Vertex_Deformation_Slot_14_Vector_2("Vector 2", Vector) = (0, 0, 0, 0)
1194          _Vertex_Deformation_Slot_14_Vector_3("Vector 3", Vector) = (0, 0, 0, 0)
1195
1196          _Vertex_Deformation_Slot_15_Enabled("Enabled", Float) = 0
1197          _Vertex_Deformation_Slot_15_Opcode("Opcode", Integer) = 0
1198          _Vertex_Deformation_Slot_15_Float_0("Float 0", Float) = 0
1199          _Vertex_Deformation_Slot_15_Float_1("Float 1", Float) = 0
1200          _Vertex_Deformation_Slot_15_Float_2("Float 2", Float) = 0
1201          _Vertex_Deformation_Slot_15_Float_3("Float 3", Float) = 0
1202          _Vertex_Deformation_Slot_15_Vector_0("Vector 0", Vector) = (0, 0, 0, 0)
1203          _Vertex_Deformation_Slot_15_Vector_1("Vector 1", Vector) = (0, 0, 0, 0)
1204          _Vertex_Deformation_Slot_15_Vector_2("Vector 2", Vector) = (0, 0, 0, 0)
1205          _Vertex_Deformation_Slot_15_Vector_3("Vector 3", Vector) = (0, 0, 0, 0)
1206
1207        [HideInInspector] m_end_Vertex_Deformation("Vertex Deformation", Float) = 0
1208        //endex
1209
1210        //ifex _UV_Scroll_Enabled==0
1211        [HideInInspector] m_start_UV_Scroll("UV Scroll", Float) = 0
1212          [ThryToggle(_UV_SCROLL)] _UV_Scroll_Enabled("Enable", Float) = 0
1213          _UV_Scroll_Speed("Speed (u, v, 0, 0)", Vector) = (0, -1, 0, 0)
1214        [HideInInspector] m_end_UV_Scroll("UV Scroll", Float) = 0
1215        //endex
1216
1217        //ifex _Marble_Enabled==0
1218        [HideInInspector] m_start_Marble("Marble", Float) = 0
1219          [ThryToggle(_MARBLE)] _Marble_Enabled("Enable", Float) = 0
1220          _Marble_Scale("Scale", Vector) = (1, 1, 1, 0)
1221          _Marble_Strength("Strength", Float) = 1
1222          [IntRange] _Marble_Octaves("Octaves", Range(1, 10)) = 3
1223          _Marble_Lacunarity("Lacunarity", Float) = 2
1224          _Marble_Gain("Gain", Float) = 0.5
1225          [Gradient] _Marble_Post_Ramp("Post Ramp", 2D) = "white" {}
1226
1227          //ifex _Marble_Time_Enabled==0
1228          [HideInInspector] m_start_Marble_Time("Time", Float) = 0
1229            [ThryToggle(_MARBLE_TIME)] _Marble_Time_Enabled("Enable", Float) = 0
1230            _Marble_Speed("Speed", Float) = 0.1
1231            _Marble_Direction("Direction", Vector) = (1, 1, 1, 0)
1232          [HideInInspector] m_end_Marble_Time("Time", Float) = 0
1233          //endex
1234
1235          //ifex _Marble_Offset_Enabled==0
1236          [HideInInspector] m_start_Marble_Offset("Offset", Float) = 0
1237            [ThryToggle(_MARBLE_OFFSET)] _Marble_Offset_Enabled("Enable", Float) = 0
1238            _Marble_Offset("Offset", Vector) = (0, 0, 0, 0)
1239          [HideInInspector] m_end_Marble_Offset("Offset", Float) = 0
1240          //endex
1241
1242        [HideInInspector] m_end_Marble("Marble", Float) = 0
1243        //endex
1244
1245        //ifex _Kintsugi_Enabled==0
1246        [HideInInspector] m_start_Kintsugi("Kintsugi", Float) = 0
1247          [ThryToggle(_KINTSUGI)] _Kintsugi_Enabled("Enable", Float) = 0
1248          [ThryToggle(_KINTSUGI_PROCEDURAL)] _Kintsugi_Procedural("Procedural noise", Float) = 0
1249          [ThryToggle(_KINTSUGI_NOISE_INVERT)] _Kintsugi_Noise_Inverted("Invert noise", Float) = 0
1250          _Kintsugi_Scale("Scale", Vector) = (1, 1, 1, 0)
1251
1252          _Kintsugi_Threshold("Threshold", Range(0, 1)) = 0.5
1253          _Kintsugi_Width("Width", Range(0, 1)) = 0.1
1254
1255          [HDR] _Kintsugi_Color("Color", Color) = (1, 1, 1, 1)
1256          _Kintsugi_Smoothness("Smoothness", Range(0, 1)) = 0.5
1257          _Kintsugi_Metallic("Metallic", Range(0, 1)) = 0.5
1258
1259          //ifex _Kintsugi_Domain_Warping_Enabled==0
1260          [HideInInspector] m_start_Kintsugi_Domain_Warping("Domain Warping", Float) = 0
1261            [ThryToggle(_KINTSUGI_DOMAIN_WARPING)] _Kintsugi_Domain_Warping_Enabled("Enable", Float) = 0
1262            _Kintsugi_Domain_Warping_Scale("Scale", Vector) = (1, 1, 1, 0)
1263            _Kintsugi_Domain_Warping_Strength("Strength", Float) = 1
1264            [IntRange] _Kintsugi_Domain_Warping_Octaves("Octaves", Range(1, 10)) = 3
1265            _Kintsugi_Domain_Warping_Lacunarity("Lacunarity", Float) = 2
1266            _Kintsugi_Domain_Warping_Gain("Gain", Float) = 0.5
1267          [HideInInspector] m_end_Kintsugi_Domain_Warping("Domain Warping", Float) = 0
1268          //endex
1269        [HideInInspector] m_end_Kintsugi("Kintsugi", Float) = 0
1270        //endex
1271
1272        //ifex _Letter_Grid_Enabled==0
1273        [HideInInspector] m_start_Letter_Grid("Letter grid", Float) = 0
1274          [ThryToggle(_LETTER_GRID)] _Letter_Grid_Enabled("Enable", Float) = 0
1275          _Letter_Grid_Texture("Glyph texture", 2D) = "black" {}
1276          _Letter_Grid_Tex_Res_X("Glyph X resolution", Float) = 16
1277          _Letter_Grid_Tex_Res_Y("Glyph Y resolution", Float) = 8
1278          _Letter_Grid_Res_X("Cell X resolution", Range(1, 4)) = 1
1279          _Letter_Grid_Res_Y("Cell Y resolution", Range(1, 4)) = 1
1280          _Letter_Grid_Data_Row_0("Cell data row 0", Vector) = (0, 0, 0, 0)
1281          _Letter_Grid_Data_Row_1("Cell data row 1", Vector) = (0, 0, 0, 0)
1282          _Letter_Grid_Data_Row_2("Cell data row 2", Vector) = (0, 0, 0, 0)
1283          _Letter_Grid_Data_Row_3("Cell data row 3", Vector) = (0, 0, 0, 0)
1284          [IntRange] _Letter_Grid_UV_Channel("UV Channel", Range(0, 3)) = 0
1285          _Letter_Grid_UV_Scale_Offset("UV scale/offset", Vector) = (1, 1, 0, 0)
1286          _Letter_Grid_Padding("Padding", Float) = 0.02
1287          _Letter_Grid_Color("Color", Color) = (1, 1, 1, 1)
1288          _Letter_Grid_Metallic("Metallic", Range(0, 1)) = 0
1289          _Letter_Grid_Roughness("Roughness", Range(0 ,1)) = 0.5
1290          _Letter_Grid_Emission("Emission", Range(0 ,1)) = 0.0
1291          _Letter_Grid_Global_Offset("Global offset", Float) = 0
1292          _Letter_Grid_Screen_Px_Range("Screen px range (from msdfgen)", Float) = 10
1293          _Letter_Grid_Min_Screen_Px_Range("Minimum screen px range", Float) = 1
1294          _Letter_Grid_Blurriness("Blurriness", Float) = 0.5
1295          _Letter_Grid_Alpha_Threshold("Alpha threshold", Range(0, 1)) = 0.5
1296
1297          //ifex _Letter_Grid_Animate_Enabled==0
1298          [HideInInspector] m_start_Letter_Grid_Animate("Animate", Float) = 0
1299            [ThryToggle(_LETTER_GRID_ANIMATE)] _Letter_Grid_Animate_Enabled("Enable", Float) = 0
1300            _Letter_Grid_Animate_Speed("Speed", Range(0, 1)) = 0.1
1301          [HideInInspector] m_end_Letter_Grid_Animate("Animate", Float) = 0
1302          //endex
1303
1304        [HideInInspector] m_end_Letter_Grid("Letter grid", Float) = 0
1305        //endex
1306
1307        //ifex _SSFD_Enabled==0
1308        [HideInInspector] m_start_SSFD("SSFD", Float) = 0
1309          [ThryToggle(_SSFD)] _SSFD_Enabled("Enable", Float) = 0
1310          [HDR] _SSFD_Tint("Tint", Color) = (1, 1, 1, 1)
1311          _SSFD_Scale("Scale", Float) = 1.0
1312          _SSFD_Max_Fwidth("Max fwidth", Float) = 1.0
1313          _SSFD_Noise("Noise", 3D) = "black" {}
1314          _SSFD_Size_Factor("Size factor", Float) = 1.0
1315          _SSFD_Threshold("Threshold", Range(0, 1)) = 0.5
1316          //ifex _SSFD_Shadow_Enabled==0
1317          [HideInInspector] m_start_SSFD_Shadow("Shadow", Float) = 0
1318            [ThryToggle(_SSFD_SHADOW)] _SSFD_Shadow_Enabled("Enable", Float) = 0
1319            _SSFD_Shadow_Amount("Amount", Range(0, 1)) = 1.0
1320          [HideInInspector] m_end_SSFD_Shadow("Shadow", Float) = 0
1321          //endex
1322        [HideInInspector] m_end_SSFD("SSFD", Float) = 0
1323        //endex
1324
1325      [HideInInspector] m_end_Gimmicks("Gimmicks", Float) = 0
1326
1327      //ifex _Tessellation_Enabled==0
1328      [HideInInspector] m_start_Tessellation("Tessellation", Float) = 0
1329        [ThryToggle(_TESSELLATION)] _Tessellation_Enabled("Enable", Float) = 0
1330        _Tessellation_Factor("Factor", Range(1, 64)) = 1
1331        _Tessellation_Frustum_Culling_Bias("Frustum culling bias", Float) = 35
1332        _Tessellation_Falloff_Factor("Falloff factor", Float) = 0.05
1333        // Shit for thry
1334        [HideInInspector] Tessellation_Enabled("Enabled", Float) = 1
1335        [HideInInspector] Tessellation_EnabledForwardBase("Enabled (ForwardBase)", Float) = 1
1336        [HideInInspector] Tessellation_EnabledForwardAdd("Enabled (ForwardAdd)", Float) = 1
1337        [HideInInspector] Tessellation_EnabledShadowCaster("Enabled (ShadowCaster)", Float) = 1
1338      [HideInInspector] m_end_Tessellation("Tessellation", Float) = 0
1339      //endex
1340
1341      [HideInInspector] m_start_Rendering_Options("Rendering Options", Float) = 0
1342
1343      [HideInInspector] m_start_Debug_Views("Debug Views", Float) = 0
1344        [ThryToggle(_DEBUG_VIEW_UNLIT)] _Debug_View_Unlit("Unlit", Float) = 0
1345        [ThryToggle(_DEBUG_VIEW_TANGENT_SPACE_NORMALS)] _Debug_View_Tangent_Space_Normals("Tangent space normals", Float) = 0
1346        [ThryToggle(_DEBUG_VIEW_WORLD_SPACE_NORMALS)] _Debug_View_World_Space_Normals("World space normals", Float) = 0
1347        [ThryToggle(_DEBUG_VIEW_OBJECT_SPACE_NORMALS)] _Debug_View_Object_Space_Normals("Object space normals", Float) = 0
1348        [ThryToggle(_DEBUG_VIEW_TANGENT_VECTORS)] _Debug_View_Tangent_VECTORS("Tangent vectors", Float) = 0
1349        [ThryToggle(_DEBUG_VIEW_METALLIC_GLOSS)] _Debug_View_Metallic_Gloss("Metallic gloss", Float) = 0
1350        [ThryToggle(_DEBUG_VIEW_HEIGHT)] _Debug_View_Height("Height", Float) = 0
1351        [ThryToggle(_DEBUG_VIEW_DEPTH)] _Debug_View_Depth("Depth", Float) = 0
1352        [ThryToggle(_DEBUG_VIEW_DIRECT_NOH)] _Debug_View_Direct_NoH("Direct NoH", Float) = 0
1353        [ThryToggle(_DEBUG_VIEW_DIRECT_LOH)] _Debug_View_Direct_LoH("Direct LoH", Float) = 0
1354        [ThryToggle(_DEBUG_VIEW_DIRECT_NOL)] _Debug_View_Direct_NoL("Direct NoL", Float) = 0
1355        [ThryToggle(_DEBUG_VIEW_DIRECT_LOV)] _Debug_View_Direct_LoV("Direct LoV", Float) = 0
1356        [ThryToggle(_DEBUG_VIEW_DIRECT_COLOR)] _Debug_View_Direct_Color("Direct color", Float) = 0
1357        [ThryToggle(_DEBUG_VIEW_NOV)] _Debug_View_NoV("NoV", Float) = 0
1358        [ThryToggle(_DEBUG_VIEW_AO)] _Debug_View_AO("AO", Float) = 0
1359        [ThryToggle(_DEBUG_VIEW_INDIRECT_DIFFUSE)] _Debug_View_Indirect_Diffuse("Indirect diffuse", Float) = 0
1360        [ThryToggle(_DEBUG_VIEW_INDIRECT_SPECULAR)] _Debug_View_Indirect_Specular("Indirect specular", Float) = 0
1361        [ThryToggle(_DEBUG_VIEW_BRDF_D)] _Debug_View_BRDF_D("BRDF D (distribution)", Float) = 0
1362        [ThryToggle(_DEBUG_VIEW_BRDF_F)] _Debug_View_BRDF_F("BRDF F (fresnel)", Float) = 0
1363        [ThryToggle(_DEBUG_VIEW_BRDF_G)] _Debug_View_BRDF_G("BRDF G (geometry)", Float) = 0
1364        [ThryToggle(_DEBUG_VIEW_BRDF_DFG)] _Debug_View_BRDF_DFG("BRDF DFG (IBL LUT)", Float) = 0
1365        [ThryToggle(_DEBUG_VIEW_BRDF_D_CC)] _Debug_View_BRDF_D_CC("BRDF D clearcoat", Float) = 0
1366        [ThryToggle(_DEBUG_VIEW_BRDF_F_CC)] _Debug_View_BRDF_F_CC("BRDF F clearcoat", Float) = 0
1367        [ThryToggle(_DEBUG_VIEW_BRDF_G_CC)] _Debug_View_BRDF_G_CC("BRDF G clearcoat", Float) = 0
1368        [ThryToggle(_DEBUG_VIEW_BRDF_DFG_CC)] _Debug_View_BRDF_DFG_CC("BRDF DFG clearcoat", Float) = 0
1369      [HideInInspector] m_end_Debug_Views("Debug Views", Float) = 0
1370
1371      [DoNotAnimate][HideInInspector] Instancing ("Instancing", Float) = 0
1372      //ifex Instancing==0
1373      [HideInInspector] m_start_Instancing("Instancing", Float) = 0
1374        //ifex _Instance_Distance_Culling_Enabled==0
1375        [HideInInspector] m_start_Instance_Distance_Culling("Distance Culling", Float) = 0
1376          [ThryToggle(_INSTANCE_DISTANCE_CULLING)] _Instance_Distance_Culling_Enabled("Enable", Float) = 0
1377          _Instance_Distance_Culling_Min_Distance("Min distance (m)", Float) = 0
1378          _Instance_Distance_Culling_Max_Distance("Max distance (m)", Float) = 10
1379        [HideInInspector] m_end_Instance_Distance_Culling("Instance Distance Culling", Float) = 0
1380        //endex
1381        //ifex _Instance_Texture_Offset_Enabled==0
1382        [HideInInspector] m_start_Instance_Texture_Offset("Texture Offset", Float) = 0
1383          [ThryToggle(_INSTANCE_TEXTURE_OFFSET)] _Instance_Texture_Offset_Enabled("Enable", Float) = 0
1384          [DoNotLock] [HideInInspector] _Instance_ID("Instance ID", Float) = 0
1385          _Instance_Texture_Offset_Data_Tex("Instance Data Texture", 2D) = "black" {}
1386          _Instance_Texture_Offset_Cell_Dimensions("Cell Dimensions", Vector) = (1, 1, 1, 0)
1387          _Instance_Texture_Offset_Angle_Randomization("Angle Randomization", Vector) = (0, 0, 0, 0)
1388          _Instance_Texture_Offset_Scale_Randomization("Scale Randomization", Float) = 0
1389          _Instance_Texture_Offset_Base_Scale("Base Scale", Vector) = (1, 1, 1, 0)
1390          _Instance_Texture_Offset_Base_Rotation("Base Rotation (Quaternion)", Vector) = (0, 0, 0, 1)
1391        [HideInInspector] m_end_Instance_Texture_Offset("Instance Texture Offset", Float) = 0
1392        //endex
1393      [HideInInspector] m_end_Instancing("Instancing", Float) = 0
1394      //endex
1395
1396      //ifex _Shadow_Caster_Enabled==0
1397      [HideInInspector] m_start_Shadow_Caster("Shadow caster pass", Float) = 0
1398        [ThryToggle(_SHADOW_CASTER)] _Shadow_Caster_Enabled("Enable", Float) = 1
1399      [HideInInspector] m_end_Shadow_Caster("Shadow caster pass", Float) = 0
1400      //endex
1401
1402      [HideInInspector] m_start_BRDF("BRDF", Float) = 0
1403        _DFG_LUT("DFG LUT", 2D) = "white" {}
1404        _BRDF_Specular_Min_Denom("Specular minimum denominator", Float) = 0.000001
1405        _Specular_AA_Variance("Specular AA Variance", Float) = 0.15
1406        _Specular_AA_Threshold("Specular AA Threshold", Float) = 0.25
1407        //ifex _Cloth_Enabled==0
1408        [HideInInspector] m_start_Cloth("Cloth", Float) = 0
1409          [ThryToggle(_CLOTH)] _Cloth_Enabled("Enable", Float) = 0
1410          _Cloth_Sheen("Sheen", Color) = (0.5, 0.5, 0.5, 1)
1411        [HideInInspector] m_end_Cloth("Cloth", Float) = 0
1412        //endex
1413      [HideInInspector] m_end_BRDF("BRDF", Float) = 0
1414
1415      [HideInInspector] m_start_blending ("Blending--{button_help:{text:Tutorial,action:{type:URL,data:https://www.poiyomi.com/rendering/blending},hover:Documentation}}", Float) = 0
1416      [DoNotAnimate][Enum(Thry.BlendOp)]_BlendOp ("RGB Blend Op", Int) = 0
1417      [DoNotAnimate][Enum(UnityEngine.Rendering.BlendMode)] _SrcBlend ("RGB Source Blend", Int) = 1
1418      [DoNotAnimate][Enum(UnityEngine.Rendering.BlendMode)] _DstBlend ("RGB Destination Blend", Int) = 0
1419      [DoNotAnimate][Space][ThryHeaderLabel(Additive Blending, 13)]
1420      [DoNotAnimate][Enum(Thry.BlendOp)]_AddBlendOp ("RGB Blend Op", Int) = 0
1421      [DoNotAnimate][Enum(UnityEngine.Rendering.BlendMode)] _AddSrcBlend ("RGB Source Blend", Int) = 1
1422      [DoNotAnimate][Enum(UnityEngine.Rendering.BlendMode)] _AddDstBlend ("RGB Destination Blend", Int) = 1
1423        [DoNotAnimate][HideInInspector] m_start_alphaBlending ("Advanced Alpha Blending", Float) = 0
1424        [DoNotAnimate][Enum(Thry.BlendOp)]_BlendOpAlpha ("Alpha Blend Op", Int) = 0
1425        [DoNotAnimate][Enum(UnityEngine.Rendering.BlendMode)] _SrcBlendAlpha ("Alpha Source Blend", Int) = 1
1426        [DoNotAnimate][Enum(UnityEngine.Rendering.BlendMode)] _DstBlendAlpha ("Alpha Destination Blend", Int) = 10
1427        [DoNotAnimate][Space][ThryHeaderLabel(Additive Blending, 13)]
1428        [DoNotAnimate][Enum(Thry.BlendOp)]_AddBlendOpAlpha ("Alpha Blend Op", Int) = 4
1429        [DoNotAnimate][Enum(UnityEngine.Rendering.BlendMode)] _AddSrcBlendAlpha ("Alpha Source Blend", Int) = 0
1430        [DoNotAnimate][Enum(UnityEngine.Rendering.BlendMode)] _AddDstBlendAlpha ("Alpha Destination Blend", Int) = 1
1431        [DoNotAnimate][HideInInspector] m_end_alphaBlending ("Advanced Alpha Blending", Float) = 0
1432      [HideInInspector] m_end_blending ("Blending", Float) = 0
1433
1434      [Enum(UnityEngine.Rendering.CullMode)] _Cull("Cull", Float) = 2
1435      [Enum(UnityEngine.Rendering.CompareFunction)] _ZTest("ZTest", Float) = 4
1436      [Enum(UnityEngine.Rendering.BlendMode)] _SrcBlend("Source Blend", Float) = 1
1437      [Enum(UnityEngine.Rendering.BlendMode)] _DstBlend("Destination Blend", Float) = 0
1438      [Enum(Off, 0, On, 1)] _ZWrite("ZWrite", Int) = 1
1439
1440      [HideInInspector] m_end_Rendering_Options("Rendering Options", Float) = 0
1441  }
1442
1443  SubShader {
1444		Tags { "RenderType" = "Opaque" "Queue" = "Geometry" "VRCFallback" = "Standard" }
1445
1446    Pass {
1447      Name "FORWARD"
1448      Tags { "LightMode" = "ForwardBase" }
1449      BlendOp [_BlendOp], [_BlendOpAlpha]
1450      Blend [_SrcBlend] [_DstBlend], [_SrcBlendAlpha] [_DstBlendAlpha]
1451      Cull [_Cull]
1452      ZWrite [_ZWrite]
1453      ZTest [_ZTest]
1454
1455      CGPROGRAM
1456      #pragma target 5.0
1457      #pragma multi_compile_fwdbase
1458      #pragma multi_compile_fullshadows
1459      #pragma multi_compile_instancing
1460      #pragma multi_compile_fog
1461      #pragma multi_compile_fragment _ VERTEXLIGHT_ON
1462      #pragma vertex vert
1463      //ifex _Geometry_Enabled==0
1464      #pragma geometry geom
1465      //endex
1466      //ifex _Tessellation_Enabled==0
1467      #pragma hull hull
1468      #pragma domain domain
1469      //endex
1470      #pragma fragment frag
1471
1472      #define FORWARD_BASE_PASS
1473
1474      #include "3ner.cginc"
1475      ENDCG
1476    }
1477    //ifex _Outlines_Enabled==0
1478    Pass {
1479      Name "OUTLINES"
1480      Tags { "LightMode" = "ForwardBase" }
1481      BlendOp [_BlendOp], [_BlendOpAlpha]
1482      Blend [_SrcBlend] [_DstBlend], [_SrcBlendAlpha] [_DstBlendAlpha]
1483      Cull Front
1484      ZWrite [_ZWrite]
1485      ZTest [_ZTest]
1486
1487      CGPROGRAM
1488      #pragma target 5.0
1489      #pragma multi_compile_fwdbase
1490      #pragma multi_compile_fullshadows
1491      #pragma multi_compile_instancing
1492      #pragma multi_compile_fog
1493      #pragma multi_compile_fragment _ VERTEXLIGHT_ON
1494      #pragma vertex vert
1495      //ifex _Geometry_Enabled==0
1496      #pragma geometry geom
1497      //endex
1498      //ifex _Tessellation_Enabled==0
1499      #pragma hull hull
1500      #pragma domain domain
1501      //endex
1502      #pragma fragment frag
1503
1504      #define OUTLINES_PASS
1505
1506      #include "3ner.cginc"
1507      ENDCG
1508    }
1509    //endex
1510    Pass {
1511      Name "ADDITIVE"
1512      Tags { "LightMode" = "ForwardAdd" }
1513      Fog { Color (0,0,0,0) }
1514      Cull [_Cull]
1515      ZWrite Off
1516      ZTest [_ZTest]
1517    BlendOp [_AddBlendOp], [_AddBlendOpAlpha]
1518    Blend [_AddSrcBlend] [_AddDstBlend], [_AddSrcBlendAlpha] [_AddDstBlendAlpha]
1519
1520      CGPROGRAM
1521      #pragma target 5.0
1522      #pragma multi_compile_fwdadd_fullshadows
1523      #pragma multi_compile_instancing
1524      #pragma multi_compile_fog
1525      #pragma vertex vert
1526      //ifex _Geometry_Enabled==0
1527      #pragma geometry geom
1528      //endex
1529      //ifex _Tessellation_Enabled==0
1530      #pragma hull hull
1531      #pragma domain domain
1532      //endex
1533      #pragma fragment frag
1534
1535
1536      #define FORWARD_ADD_PASS
1537
1538      #include "3ner.cginc"
1539      ENDCG
1540    }
1541    Pass {
1542      Name "SHADOW"
1543      Tags { "LightMode" = "ShadowCaster" }
1544      Fog { Color (0,0,0,0) }
1545      Cull [_Cull]
1546      ZTest [_ZTest]
1547
1548      CGPROGRAM
1549      #pragma target 5.0
1550      #pragma multi_compile_instancing
1551      #pragma multi_compile_shadowcaster
1552      #pragma vertex vert
1553      //ifex _Geometry_Enabled==0
1554      #pragma geometry geom
1555      //endex
1556      //ifex _Tessellation_Enabled==0
1557      #pragma hull hull
1558      #pragma domain domain
1559      //endex
1560      #pragma fragment frag_shadow_caster
1561
1562      #define SHADOW_CASTER_PASS
1563
1564      #include "3ner.cginc"
1565      ENDCG
1566    }
1567  }
1568  CustomEditor "Thry.ShaderEditor"
1569}