diff options
| author | yum <yum.food.vr@gmail.com> | 2024-12-01 18:00:57 -0800 |
|---|---|---|
| committer | yum <yum.food.vr@gmail.com> | 2024-12-01 18:00:57 -0800 |
| commit | a116fda8c034ab13bf8b1cf1b4cbdc4ba9eba6b0 (patch) | |
| tree | 7e6bcd3a9ea57694ce607ad702077ee254b1a50d /Editor/tooner.cs | |
| parent | 3089bd2ea6a3952e3ea0f31d8fc5eca1864cefab (diff) | |
Add smoothness control to msdf font renderer
Also rescale atlas so we can use texture sizes that are not a perfect
multiple of the grid size.
Diffstat (limited to 'Editor/tooner.cs')
| -rw-r--r-- | Editor/tooner.cs | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/Editor/tooner.cs b/Editor/tooner.cs index fca422b..9f444d4 100644 --- a/Editor/tooner.cs +++ b/Editor/tooner.cs @@ -2045,6 +2045,13 @@ public class ToonerGUI : ShaderGUI { bc = FindProperty("_Gimmick_Letter_Grid_2_Global_Offset"); FloatProperty(bc, "Global offset"); + bc = FindProperty("_Gimmick_Letter_Grid_2_Screen_Px_Range"); + FloatProperty(bc, "Screen px range (from msdfgen)"); + bc = FindProperty("_Gimmick_Letter_Grid_2_Min_Screen_Px_Range"); + FloatProperty(bc, "Minimum screen px range"); + bc = FindProperty("_Gimmick_Letter_Grid_2_Blurriness"); + FloatProperty(bc, "Blurriness"); + EditorGUI.indentLevel -= 1; } |
