summaryrefslogtreecommitdiffstats
path: root/Editor
diff options
context:
space:
mode:
Diffstat (limited to 'Editor')
-rw-r--r--Editor/tooner.cs22
1 files changed, 16 insertions, 6 deletions
diff --git a/Editor/tooner.cs b/Editor/tooner.cs
index 4ce5bd0..74dcae7 100644
--- a/Editor/tooner.cs
+++ b/Editor/tooner.cs
@@ -707,6 +707,11 @@ public class ToonerGUI : ShaderGUI {
bc,
"Quantization");
+ bc = FindProperty($"_Rim_Lighting{i}_Glitter_UV_Select");
+ editor.RangeProperty(
+ bc,
+ "UV channel");
+
EditorGUI.indentLevel -= 1;
}
@@ -934,32 +939,37 @@ public class ToonerGUI : ShaderGUI {
bc = FindProperty("_Glitter_Density");
editor.FloatProperty(
bc,
- "Glitter density");
+ "Density");
bc = FindProperty("_Glitter_Amount");
editor.FloatProperty(
bc,
- "Glitter amount");
+ "Amount");
bc = FindProperty("_Glitter_Speed");
editor.FloatProperty(
bc,
- "Glitter speed");
+ "Speed");
bc = FindProperty("_Glitter_Brightness");
editor.FloatProperty(
bc,
- "Glitter brightness");
+ "Brightness");
bc = FindProperty("_Glitter_Angle");
editor.FloatProperty(
bc,
- "Glitter angle");
+ "Angle");
bc = FindProperty("_Glitter_Power");
editor.FloatProperty(
bc,
- "Glitter power");
+ "Power");
+
+ bc = FindProperty("_Glitter_UV_Select");
+ editor.RangeProperty(
+ bc,
+ "UV select");
}
}