Temp FIN
This commit is contained in:
@@ -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) =>
|
||||
|
||||
Reference in New Issue
Block a user