From a95481afa226d76d671b13515ee2abc59359b87a Mon Sep 17 00:00:00 2001 From: yum Date: Tue, 16 Jul 2024 12:50:12 -0700 Subject: 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 --- Editor/tooner.cs | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'Editor') 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, -- cgit v1.2.3