mirror of
https://github.com/vrm-c/UniVRM.git
synced 2026-05-11 13:04:17 -05:00
28 lines
742 B
C#
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)
|
|
|
|
}
|
|
}
|
|
);
|
|
}
|
|
}
|
|
}
|
|
}
|