diff options
| author | yum <yum.food.vr@gmail.com> | 2026-02-25 18:55:49 -0800 |
|---|---|---|
| committer | yum <yum.food.vr@gmail.com> | 2026-02-25 18:55:49 -0800 |
| commit | e7c7b5e9fd1dc14755da97b0f4edb0bc92c744b3 (patch) | |
| tree | 5a1cbf52ca16328e9beccc4b4ac7b09414899924 /3ner.shader | |
| parent | 0e0584159c47c0229e1ba2120dcc782c7250d09f (diff) | |
Plumb matcaps & rim lighting
Diffstat (limited to '3ner.shader')
| -rwxr-xr-x | 3ner.shader | 66 |
1 files changed, 59 insertions, 7 deletions
diff --git a/3ner.shader b/3ner.shader index f38b614..678e757 100755 --- a/3ner.shader +++ b/3ner.shader @@ -56,13 +56,57 @@ Shader "yum_food/3ner" [HideInInspector] m_end_Ambient_Occlusion("Ambient Occlusion", Float) = 0 //endex - //ifex _Bent_Normals_Enabled==0 - [HideInInspector] m_start_Bent_Normals("Bent Normals", Float) = 0 - [ThryToggle(_BENT_NORMALS)] _Bent_Normals_Enabled("Enable", Float) = 0 - [Normal] _Bent_Normals_Map("Bent Normals", 2D) = "white" {} - _Bent_Normals_Strength("Bent Normals Strength", Range(0, 10)) = 1 - [HideInInspector] m_end_Bent_Normals("Bent Normals", Float) = 0 - //endex + [HideInInspector] m_start_Matcaps("Matcaps", Float) = 0 + //ifex _Matcap0_Enabled==0 + [HideInInspector] m_start_Matcap0("Matcap 0", Float) = 0 + [ThryToggle(_MATCAP0)] _Matcap0_Enabled("Enable", Float) = 0 + _Matcap0("Matcap", 2D) = "white" {} + _Matcap0_Strength("Strength", Range(0, 10)) = 1 + [ThryWideEnum(Replace, 0, Add, 1, Multiply, 2, Subtract, 3, Add Product, 4)] _Matcap0_Mode("Mode", Int) = 0 + [Toggle] _Matcap0_Invert("Invert", Float) = 0 + + //ifex _Matcap0_Quantization_Enabled==0 + [HideInInspector] m_start_Matcap0_Quantization("Quantization", Float) = 0 + [ThryToggle(_MATCAP0_QUANTIZATION)] _Matcap0_Quantization_Enabled("Enable", Float) = 0 + [IntRange] _Matcap0_Quantization_Steps("Steps", Range(1, 32)) = 8 + [HideInInspector] m_end_Matcap0_Quantization("Quantization", Float) = 0 + //endex + + //ifex _Matcap0_Mask_Enabled==0 + [HideInInspector] m_start_Matcap0_Mask("Mask", Float) = 0 + [ThryToggle(_MATCAP0_MASK)] _Matcap0_Mask_Enabled("Enable", Float) = 0 + _Matcap0_Mask("Mask", 2D) = "white" {} + [HideInInspector] m_end_Matcap0_Mask("Mask", Float) = 0 + //endex + [HideInInspector] m_end_Matcap0("Matcap 0", Float) = 0 + //endex + [HideInInspector] m_end_Matcaps("Matcaps", Float) = 0 + + [HideInInspector] m_start_Rim_Lightings("Rim Lighting", Float) = 0 + //ifex _Rim_Lighting0_Enabled==0 + [HideInInspector] m_start_Rim_Lighting0("Rim Lighting 0", Float) = 0 + [ThryToggle(_RIM_LIGHTING0)] _Rim_Lighting0_Enabled("Enable", Float) = 0 + _Rim_Lighting0_Color("Color", Color) = (1, 1, 1, 1) + _Rim_Lighting0_Center("Center", Range(0, 1)) = 1 + _Rim_Lighting0_Blur("Blur", Range(0, 0.5)) = 0.1 + [ThryWideEnum(Replace, 0, Add, 1, Multiply, 2, Subtract, 3, Add Product, 4)] _Rim_Lighting0_Mode("Mode", Int) = 1 + + //ifex _Rim_Lighting0_Quantization_Enabled==0 + [HideInInspector] m_start_Rim_Lighting0_Quantization("Quantization", Float) = 0 + [ThryToggle(_RIM_LIGHTING0_QUANTIZATION)] _Rim_Lighting0_Quantization_Enabled("Enable", Float) = 0 + [IntRange] _Rim_Lighting0_Quantization_Steps("Steps", Range(1, 32)) = 8 + [HideInInspector] m_end_Rim_Lighting0_Quantization("Quantization", Float) = 0 + //endex + + //ifex _Rim_Lighting0_Mask_Enabled==0 + [HideInInspector] m_start_Rim_Lighting0_Mask("Mask", Float) = 0 + [ThryToggle(_RIM_LIGHTING0_MASK)] _Rim_Lighting0_Mask_Enabled("Enable", Float) = 0 + _Rim_Lighting0_Mask("Mask", 2D) = "white" {} + [HideInInspector] m_end_Rim_Lighting0_Mask("Mask", Float) = 0 + //endex + [HideInInspector] m_end_Rim_Lighting0("Rim Lighting 0", Float) = 0 + //endex + [HideInInspector] m_end_Rim_Lightings("Rim Lighting", Float) = 0 //ifex _Clearcoat_Enabled==0 [HideInInspector] m_start_Clearcoat("Clearcoat", Float) = 0 @@ -125,6 +169,14 @@ Shader "yum_food/3ner" [HideInInspector] m_end_Shadows("Shadows", Float) = 0 //endex + //ifex _Bent_Normals_Enabled==0 + [HideInInspector] m_start_Bent_Normals("Bent Normals", Float) = 0 + [ThryToggle(_BENT_NORMALS)] _Bent_Normals_Enabled("Enable", Float) = 0 + [Normal] _Bent_Normals_Map("Bent Normals", 2D) = "white" {} + _Bent_Normals_Strength("Bent Normals Strength", Range(0, 10)) = 1 + [HideInInspector] m_end_Bent_Normals("Bent Normals", Float) = 0 + //endex + [HideInInspector] m_end_Main("Main", Float) = 0 [HideInInspector] m_start_Gimmicks("Gimmicks", Float) = 0 |
