diff options
| author | yum <yum.food.vr@gmail.com> | 2024-07-16 12:50:12 -0700 |
|---|---|---|
| committer | yum <yum.food.vr@gmail.com> | 2024-07-16 12:50:12 -0700 |
| commit | a95481afa226d76d671b13515ee2abc59359b87a (patch) | |
| tree | 6dafd93ecf2770e2b1e878bcf193b97ef19934a5 /Editor/tooner.cs | |
| parent | fdcb4dee7e8c5dbc46dc1513b57ed14851876303 (diff) | |
Add lighting multiplier & reflection probe saturation control
Also:
* Shadow caster works with cutout now
* Normalize interpolated mesh normal in fragment shader
* Indirect specular affects clearcoat
* Bugfix: rename v2f vertex to pos in tessellation shader
* Hue shift affects outlines
Diffstat (limited to 'Editor/tooner.cs')
| -rw-r--r-- | Editor/tooner.cs | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/Editor/tooner.cs b/Editor/tooner.cs index fb870ca..a3af66c 100644 --- a/Editor/tooner.cs +++ b/Editor/tooner.cs @@ -1211,6 +1211,16 @@ public class ToonerGUI : ShaderGUI { bc); SetKeyword("_CUBEMAP", bc.textureValue); + bc = FindProperty("_Lighting_Factor"); + editor.RangeProperty( + bc, + "Lighting multiplier"); + + bc = FindProperty("_Reflection_Probe_Saturation"); + editor.RangeProperty( + bc, + "Reflection probe saturation"); + bc = FindProperty("_Shadow_Strength"); editor.RangeProperty( bc, |
