From 73884af1c82347ee908966265044644a73d0c24c Mon Sep 17 00:00:00 2001 From: ishiiyuki Date: Sun, 7 Jan 2024 21:24:17 +0900 Subject: [PATCH] lilblock Update --- .../lilToon/CustomShaderResources/Properties/Default.lilblock | 1 + .../CustomShaderResources/Properties/DefaultAll.lilblock | 1 + .../CustomShaderResources/Properties/DefaultFakeShadow.lilblock | 1 + .../CustomShaderResources/Properties/DefaultLite.lilblock | 1 + Assets/lilToon/Editor/lilInspector.cs | 2 +- 5 files changed, 5 insertions(+), 1 deletion(-) diff --git a/Assets/lilToon/CustomShaderResources/Properties/Default.lilblock b/Assets/lilToon/CustomShaderResources/Properties/Default.lilblock index 69ceb54c..2d1d912c 100644 --- a/Assets/lilToon/CustomShaderResources/Properties/Default.lilblock +++ b/Assets/lilToon/CustomShaderResources/Properties/Default.lilblock @@ -5,6 +5,7 @@ [lilToggle] _NoCamera ("sNoCamera", Int) = 0 [lilToggle] _OnlyMirror ("sOnlyMirror", Int) = 0 [lilToggle] _OnlyCamera ("sOnlyCamera", Int) = 0 + [lilToggle] _UseMirrorTex("sMirrorTex", Int) = 0 _AsUnlit ("sAsUnlit", Range(0, 1)) = 0 _Cutoff ("sCutoff", Range(-0.001,1.001)) = 0.5 _SubpassCutoff ("sSubpassCutoff", Range(0,1)) = 0.5 diff --git a/Assets/lilToon/CustomShaderResources/Properties/DefaultAll.lilblock b/Assets/lilToon/CustomShaderResources/Properties/DefaultAll.lilblock index cf23c284..2df7add4 100644 --- a/Assets/lilToon/CustomShaderResources/Properties/DefaultAll.lilblock +++ b/Assets/lilToon/CustomShaderResources/Properties/DefaultAll.lilblock @@ -5,6 +5,7 @@ [lilToggle] _NoCamera ("sNoCamera", Int) = 0 [lilToggle] _OnlyMirror ("sOnlyMirror", Int) = 0 [lilToggle] _OnlyCamera ("sOnlyCamera", Int) = 0 + [lilToggle] _UseMirrorTex("sMirrorTex", Int) = 0 _AsUnlit ("sAsUnlit", Range(0, 1)) = 0 _Cutoff ("sCutoff", Range(-0.001,1.001)) = 0.5 _SubpassCutoff ("sSubpassCutoff", Range(0,1)) = 0.5 diff --git a/Assets/lilToon/CustomShaderResources/Properties/DefaultFakeShadow.lilblock b/Assets/lilToon/CustomShaderResources/Properties/DefaultFakeShadow.lilblock index 45ceeb4d..061b3298 100644 --- a/Assets/lilToon/CustomShaderResources/Properties/DefaultFakeShadow.lilblock +++ b/Assets/lilToon/CustomShaderResources/Properties/DefaultFakeShadow.lilblock @@ -5,6 +5,7 @@ [lilToggle] _NoCamera ("sNoCamera", Int) = 0 [lilToggle] _OnlyMirror ("sOnlyMirror", Int) = 0 [lilToggle] _OnlyCamera ("sOnlyCamera", Int) = 0 + [lilToggle] _UseMirrorTex("sMirrorTex", Int) = 0 //---------------------------------------------------------------------------------------------------------------------- // Main diff --git a/Assets/lilToon/CustomShaderResources/Properties/DefaultLite.lilblock b/Assets/lilToon/CustomShaderResources/Properties/DefaultLite.lilblock index 647dca84..d7b9083a 100644 --- a/Assets/lilToon/CustomShaderResources/Properties/DefaultLite.lilblock +++ b/Assets/lilToon/CustomShaderResources/Properties/DefaultLite.lilblock @@ -5,6 +5,7 @@ [lilToggle] _NoCamera ("sNoCamera", Int) = 0 [lilToggle] _OnlyMirror ("sOnlyMirror", Int) = 0 [lilToggle] _OnlyCamera ("sOnlyCamera", Int) = 0 + [lilToggle] _UseMirrorTex("sMirrorTex", Int) = 0 _AsUnlit ("sAsUnlit", Range(0, 1)) = 0 _Cutoff ("sCutoff", Range(-0.001,1.001)) = 0.5 _SubpassCutoff ("sSubpassCutoff", Range(0,1)) = 0.5 diff --git a/Assets/lilToon/Editor/lilInspector.cs b/Assets/lilToon/Editor/lilInspector.cs index a1579100..bad360cc 100644 --- a/Assets/lilToon/Editor/lilInspector.cs +++ b/Assets/lilToon/Editor/lilInspector.cs @@ -4614,7 +4614,7 @@ private void DrawBaseSettings(Material material, string sTransparentMode, string LocalizedProperty(onlyMirror); LocalizedProperty(onlyCamera); LocalizedProperty(useMirrorTex); - LocalizedProperty(mainMirrorTex); + //LocalizedProperty(mainMirrorTex); if (zwrite.floatValue != 1.0f && !isGem && lilEditorGUI.AutoFixHelpBox(GetLoc("sHelpZWrite")))