From bfc062d1f056f13dcc43d50c995124288fef5967 Mon Sep 17 00:00:00 2001 From: yum Date: Mon, 15 Jul 2024 14:23:47 -0700 Subject: Add clearcoat mask --- Editor/tooner.cs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Editor') diff --git a/Editor/tooner.cs b/Editor/tooner.cs index 2c02896..fb870ca 100644 --- a/Editor/tooner.cs +++ b/Editor/tooner.cs @@ -113,6 +113,8 @@ public class ToonerGUI : ShaderGUI { editor.RangeProperty(bc, "Strength"); bc = FindProperty("_Clearcoat_Roughness"); editor.RangeProperty(bc, "Roughness"); + bc = FindProperty("_Clearcoat_Mask"); + editor.TexturePropertySingleLine(MakeLabel(bc, "Mask"), bc); } } -- cgit v1.2.3