diff options
| author | yum <yum.food.vr@gmail.com> | 2024-08-30 14:24:59 -0700 |
|---|---|---|
| committer | yum <yum.food.vr@gmail.com> | 2024-08-30 14:24:59 -0700 |
| commit | 2ea62b8fc899cab47e6e23da9168a42ecd6ddf45 (patch) | |
| tree | c42724bf73ab60dfc00f308815bb291f70b41d63 /Editor/tooner.cs | |
| parent | c72069f69f451a4e369f01ac3dac3961740127b5 (diff) | |
Add lit glitter logic
Also fix prox dimming. It should occur *after* the non-specular
brightness budget correction.
Diffstat (limited to 'Editor/tooner.cs')
| -rw-r--r-- | Editor/tooner.cs | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/Editor/tooner.cs b/Editor/tooner.cs index 74dcae7..741bd5f 100644 --- a/Editor/tooner.cs +++ b/Editor/tooner.cs @@ -951,10 +951,15 @@ public class ToonerGUI : ShaderGUI { bc, "Speed"); + bc = FindProperty("_Glitter_Brightness_Lit"); + editor.FloatProperty( + bc, + "Brightness (lit)"); + bc = FindProperty("_Glitter_Brightness"); editor.FloatProperty( bc, - "Brightness"); + "Brightness (unlit)"); bc = FindProperty("_Glitter_Angle"); editor.FloatProperty( |
