This commit is contained in:
SoulliesOfficial
2025-12-14 18:40:00 -05:00
parent f7af60351b
commit 7c1cb7e8e1
291 changed files with 226851 additions and 353 deletions

View File

@@ -358,8 +358,13 @@ namespace PotaToon.Editor
PropertyGroupBox("Normal Map", (Property) =>
{
Property("Use Normal Map", (s) => materialEditor.ShaderProperty(_UseNormalMap, new GUIContent(s)));
EditorGUI.BeginDisabledGroup(material.GetInt("_UseNormalMap") == 0);
Property("Normal Map", (s) => materialEditor.TexturePropertySingleLine(new GUIContent(s), _NormalMap, _NormalMapUV));
EditorGUI.indentLevel++;
Property("Normal Map", (s) => materialEditor.TextureScaleOffsetProperty(_NormalMap));
EditorGUI.indentLevel--;
Property("Bump Scale", (s) => materialEditor.RangeProperty(_BumpScale, s));
EditorGUI.EndDisabledGroup();
});
PropertyGroupBox("Rim Light", (Property) =>