Update LitGUI.cs

This commit is contained in:
max 2021-02-10 01:54:59 +01:00
parent 3248728c3a
commit e6016ef55a

View File

@ -38,7 +38,6 @@ namespace TAO.VertexAnimation.Editor
OtherGUI(); OtherGUI();
} }
EditorGUILayout.EndFoldoutHeaderGroup(); EditorGUILayout.EndFoldoutHeaderGroup();
} }
private void BaseMapGUI() private void BaseMapGUI()
@ -103,6 +102,8 @@ namespace TAO.VertexAnimation.Editor
MaterialProperty map = FindProperty("_PositionMap", properties); MaterialProperty map = FindProperty("_PositionMap", properties);
materialEditor.TexturePropertySingleLine(MakeLabel(map), map); materialEditor.TexturePropertySingleLine(MakeLabel(map), map);
MaterialProperty useInterpolation = FindProperty("USE_INTERPOLATION", properties);
materialEditor.ShaderProperty(useInterpolation, MakeLabel(useInterpolation, "For smooth animations."));
MaterialProperty useNormal = FindProperty("USE_NORMALA", properties); MaterialProperty useNormal = FindProperty("USE_NORMALA", properties);
materialEditor.ShaderProperty(useNormal, MakeLabel(useNormal, "Apply vertex normals saved in the alpha channel of the position map.")); materialEditor.ShaderProperty(useNormal, MakeLabel(useNormal, "Apply vertex normals saved in the alpha channel of the position map."));
MaterialProperty flipUV = FindProperty("VA_FLIP_UVS", properties); MaterialProperty flipUV = FindProperty("VA_FLIP_UVS", properties);