summaryrefslogtreecommitdiffstats
path: root/Editor/tooner.cs
diff options
context:
space:
mode:
authoryum <yum.food.vr@gmail.com>2024-09-07 13:52:12 -0700
committeryum <yum.food.vr@gmail.com>2024-09-07 13:52:12 -0700
commit50bfca1c68773dd8c663577fcef23ac7cfbca0f7 (patch)
treee5d6550c1c0b45d8de7ad0a0535b0f3bd84710fb /Editor/tooner.cs
parent489fadcbd2cff45e0f6e38eefb0d9d6766b701bb (diff)
Add quantization and alpha blending to rorschach effect
Diffstat (limited to 'Editor/tooner.cs')
-rw-r--r--Editor/tooner.cs6
1 files changed, 6 insertions, 0 deletions
diff --git a/Editor/tooner.cs b/Editor/tooner.cs
index 910098d..17347a7 100644
--- a/Editor/tooner.cs
+++ b/Editor/tooner.cs
@@ -1444,6 +1444,8 @@ public class ToonerGUI : ShaderGUI {
EditorGUI.EndChangeCheck();
bc.floatValue = enabled ? 1.0f : 0.0f;
+ bc = FindProperty("_Rorschach_Color");
+ editor.ColorProperty(bc, "Color");
bc = FindProperty("_Rorschach_Count_X");
editor.FloatProperty(bc, "Count (x)");
bc = FindProperty("_Rorschach_Count_Y");
@@ -1456,6 +1458,10 @@ public class ToonerGUI : ShaderGUI {
editor.FloatProperty(bc, "Emission strength");
bc = FindProperty("_Rorschach_Speed");
editor.FloatProperty(bc, "Speed");
+ bc = FindProperty("_Rorschach_Quantization");
+ editor.FloatProperty(bc, "Quantization");
+ bc = FindProperty("_Rorschach_Alpha_Cutoff");
+ editor.FloatProperty(bc, "Alpha cutoff");
bc = FindProperty("_Rorschach_Mask");
editor.TexturePropertySingleLine(
MakeLabel(bc, "Mask"),