diff options
| author | yum <yum.food.vr@gmail.com> | 2024-06-28 17:16:03 -0700 |
|---|---|---|
| committer | yum <yum.food.vr@gmail.com> | 2024-06-28 17:16:03 -0700 |
| commit | 24d1a84d2b18ee771585e22ec00fa190afde3df5 (patch) | |
| tree | 2742d430fdf921a9cf453baa5024ad786b68bd77 /Editor/tooner.cs | |
| parent | 1ecc426e19462909700dd86df351050a0c7468c2 (diff) | |
Add quantization to rim lighting
Good for artistic effect.
Diffstat (limited to 'Editor/tooner.cs')
| -rw-r--r-- | Editor/tooner.cs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Editor/tooner.cs b/Editor/tooner.cs index 9190f0f..7063972 100644 --- a/Editor/tooner.cs +++ b/Editor/tooner.cs @@ -371,6 +371,11 @@ public class ToonerGUI : ShaderGUI { bc, "Rim lighting emission"); + bc = FindProperty($"_Rim_Lighting{i}_Quantization"); + editor.FloatProperty( + bc, + "Rim lighting quantization"); + bc = FindProperty($"_Rim_Lighting{i}_Glitter_Enabled"); enabled = bc.floatValue > 1E-6; EditorGUI.BeginChangeCheck(); |
