VertexAnimation/Runtime/Scripts/ModelBaker/AnimationMaterial.cs
max d3b4d34409 Model Baker Updates
...
Added fps to book data.
Cleanup.
Preparing LOD generation.
2021-01-14 00:45:25 +01:00

18 lines
287 B
C#

using UnityEngine;
namespace TAO.VertexAnimation
{
public static class AnimationMaterial
{
public static Material Create(string name, Shader shader)
{
Material material = new Material(shader)
{
name = name,
enableInstancing = true
};
return material;
}
}
}