From e6016ef55abf226465852058e6c2fcc5d2ea9789 Mon Sep 17 00:00:00 2001 From: max Date: Wed, 10 Feb 2021 01:54:59 +0100 Subject: [PATCH] Update LitGUI.cs --- Editor/Scripts/Editor/LitGUI.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Editor/Scripts/Editor/LitGUI.cs b/Editor/Scripts/Editor/LitGUI.cs index 8b8f6af..878f8eb 100644 --- a/Editor/Scripts/Editor/LitGUI.cs +++ b/Editor/Scripts/Editor/LitGUI.cs @@ -38,7 +38,6 @@ namespace TAO.VertexAnimation.Editor OtherGUI(); } EditorGUILayout.EndFoldoutHeaderGroup(); - } private void BaseMapGUI() @@ -103,6 +102,8 @@ namespace TAO.VertexAnimation.Editor MaterialProperty map = FindProperty("_PositionMap", properties); 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); materialEditor.ShaderProperty(useNormal, MakeLabel(useNormal, "Apply vertex normals saved in the alpha channel of the position map.")); MaterialProperty flipUV = FindProperty("VA_FLIP_UVS", properties);