summaryrefslogtreecommitdiffstats
path: root/Editor
diff options
context:
space:
mode:
authoryum <yum.food.vr@gmail.com>2024-11-03 15:23:21 -0800
committeryum <yum.food.vr@gmail.com>2024-11-03 15:23:21 -0800
commitcb55e813456480a036673d1d32608e10b10c8f87 (patch)
treed54c125b2fd01403fec0b4f26d470ffbbeff2468 /Editor
parent9cc586ddce424f619a2a1fba192c5f3e4c01a29d (diff)
Lots of tweaks
Diffstat (limited to 'Editor')
-rw-r--r--Editor/tooner.cs17
1 files changed, 17 insertions, 0 deletions
diff --git a/Editor/tooner.cs b/Editor/tooner.cs
index 0163e85..fdd81b0 100644
--- a/Editor/tooner.cs
+++ b/Editor/tooner.cs
@@ -2142,6 +2142,23 @@ public class ToonerGUI : ShaderGUI {
EditorGUI.indentLevel -= 1;
}
+ bc = FindProperty("_Gimmick_Fog_00_Ray_March_0_Enable_Static");
+ enabled = (bc.floatValue != 0.0);
+ EditorGUI.BeginChangeCheck();
+ enabled = Toggle("Ray march effect 0", enabled);
+ EditorGUI.EndChangeCheck();
+ bc.floatValue = enabled ? 1.0f : 0.0f;
+ SetKeyword("_GIMMICK_FOG_00_RAY_MARCH_0", enabled);
+
+ if (enabled) {
+ EditorGUI.indentLevel += 1;
+
+ bc = FindProperty("_Gimmick_Fog_00_Ray_March_0_Seed");
+ FloatProperty(bc, "Seed");
+
+ EditorGUI.indentLevel -= 1;
+ }
+
EditorGUI.indentLevel -= 1;
}