UniVRM/Scripts/PreExportShaderProps/VRM_UnlitCutout.cs
2018-08-06 17:29:37 +09:00

28 lines
742 B
C#

using System.Collections.Generic;
namespace UniGLTF.ShaderPropExporter
{
public static partial class PreShaderPropExporter
{
[PreExportShader]
static KeyValuePair<string, ShaderProps> VRM_UnlitCutout
{
get
{
return new KeyValuePair<string, ShaderProps>(
"VRM/UnlitCutout",
new ShaderProps
{
Properties = new ShaderProperty[]{
new ShaderProperty("_MainTex", ShaderPropertyType.TexEnv, false)
,new ShaderProperty("_Cutoff", ShaderPropertyType.Range, false)
}
}
);
}
}
}
}