mirror of
https://github.com/maxartz15/VertexAnimation.git
synced 2024-12-05 01:30:44 +01:00
Update LitGUI.cs
This commit is contained in:
parent
3248728c3a
commit
e6016ef55a
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user