diff options
| author | yum <yum.food.vr@gmail.com> | 2024-10-08 17:32:09 -0700 |
|---|---|---|
| committer | yum <yum.food.vr@gmail.com> | 2024-10-08 17:32:09 -0700 |
| commit | a396182815db14f5a6eed26799dd425506a70686 (patch) | |
| tree | 38f1d2ca8cb3cd6bd8b87fdcb2678ac2e911e90b /Editor | |
| parent | bcadf1d091efe76e7a1b2393f87f7e24128b723b (diff) | |
Add fog parameters; add Unity fog to fwd/add passes
Diffstat (limited to 'Editor')
| -rw-r--r-- | Editor/tooner.cs | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/Editor/tooner.cs b/Editor/tooner.cs index 5fc26bd..156e8c2 100644 --- a/Editor/tooner.cs +++ b/Editor/tooner.cs @@ -2018,6 +2018,26 @@ public class ToonerGUI : ShaderGUI { } EditorGUI.indentLevel += 1; + + bc = FindProperty("_Gimmick_Fog_00_Density"); + RangeProperty(bc, "Density"); + bc = FindProperty("_Gimmick_Fog_00_Radius"); + FloatProperty(bc, "Radius"); + bc = FindProperty("_Gimmick_Fog_00_Step_Size"); + FloatProperty(bc, "Step size"); + bc = FindProperty("_Gimmick_Fog_00_Max_Ray"); + FloatProperty(bc, "Max ray length (m)"); + bc = FindProperty("_Gimmick_Fog_00_Noise_Scale"); + FloatProperty(bc, "Noise scale"); + bc = FindProperty("_Gimmick_Fog_00_Noise_Exponent"); + FloatProperty(bc, "Noise exponent"); + bc = FindProperty("_Gimmick_Fog_00_Normal_Cutoff"); + RangeProperty(bc, "Normal cutoff"); + bc = FindProperty("_Gimmick_Fog_00_Albedo_Cutoff"); + RangeProperty(bc, "Albedo cutoff"); + bc = FindProperty("_Gimmick_Fog_00_Ray_Origin_Randomization"); + RangeProperty(bc, "Ray origin randomization"); + EditorGUI.indentLevel -= 1; } |
