Fix texture naming error.

Fix texture naming error.
FixedString32 -> FixedString64.
This commit is contained in:
max
2021-01-19 16:35:37 +01:00
parent a3c0ea934e
commit c3fd688619
6 changed files with 37 additions and 14 deletions

View File

@ -79,6 +79,18 @@ namespace TAO.VertexAnimation.Editor
}
}
private void OnValidate()
{
if (materialShader == null)
{
materialShader = Shader.Find("VA_VertexAnimationBase");
if (materialShader == null)
{
materialShader = Shader.Find("Shader Graphs/VA_VertexAnimationBase");
}
}
}
public void Bake()
{
var target = Instantiate(model);