summaryrefslogtreecommitdiffstats
path: root/Editor
diff options
context:
space:
mode:
authoryum <yum.food.vr@gmail.com>2024-07-15 14:23:47 -0700
committeryum <yum.food.vr@gmail.com>2024-07-15 14:23:47 -0700
commitbfc062d1f056f13dcc43d50c995124288fef5967 (patch)
tree928520fba54204ee68aac55fa07bf72f64f89cf4 /Editor
parent65960b924a861f273b72157456aabaa694831976 (diff)
Add clearcoat mask
Diffstat (limited to 'Editor')
-rw-r--r--Editor/tooner.cs2
1 files changed, 2 insertions, 0 deletions
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);
}
}