summaryrefslogtreecommitdiffstats
path: root/Editor
diff options
context:
space:
mode:
authoryum <yum.food.vr@gmail.com>2025-02-02 16:20:12 -0800
committeryum <yum.food.vr@gmail.com>2025-02-02 16:20:17 -0800
commit5f819329a161d54076d025d6f61656f262094c07 (patch)
treeacba27050736f2296206fb0dc52f4cd2e9bb29bb /Editor
parent03406b0983e123bb3203a96bfd2f017e58e3e90d (diff)
Finish reproducing SSFD tech
Fix gen_sdf so it normalizes all SDFs
Diffstat (limited to 'Editor')
-rw-r--r--Editor/tooner.cs4
1 files changed, 3 insertions, 1 deletions
diff --git a/Editor/tooner.cs b/Editor/tooner.cs
index fefee6b..9d7de84 100644
--- a/Editor/tooner.cs
+++ b/Editor/tooner.cs
@@ -3270,9 +3270,11 @@ public class ToonerGUI : ShaderGUI {
bc = FindProperty("_Surface_Stable_Fractal_Dithering_Noise");
TexturePropertySingleLine(MakeLabel(bc, "Noise"), bc);
bc = FindProperty("_Surface_Stable_Fractal_Dithering_Scale");
- FloatProperty(bc, "Scale");
+ RangeProperty(bc, "Scale");
bc = FindProperty("_Surface_Stable_Fractal_Dithering_Max_Fwidth");
FloatProperty(bc, "Max fwidth");
+ bc = FindProperty("_Surface_Stable_Fractal_Dithering_Cutoff");
+ RangeProperty(bc, "Cutoff");
EditorGUI.indentLevel -= 1;
}