From 5f819329a161d54076d025d6f61656f262094c07 Mon Sep 17 00:00:00 2001 From: yum Date: Sun, 2 Feb 2025 16:20:12 -0800 Subject: Finish reproducing SSFD tech Fix gen_sdf so it normalizes all SDFs --- Editor/tooner.cs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'Editor') 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; } -- cgit v1.2.3