UniVRM/Core/Scripts/PreExportShaderProps/UniGLTF_UniUnlit.cs
ousttrue 2a19c831f8 Squashed 'UniGLTF/' content from commit 690847a
git-subtree-dir: UniGLTF
git-subtree-split: 690847a1a5a0bd3df55187e1f1cb6f338c09225b
2018-12-28 19:53:19 +09:00

35 lines
1.1 KiB
C#

using System.Collections.Generic;
namespace UniGLTF.ShaderPropExporter
{
public static partial class PreShaderPropExporter
{
[PreExportShader]
static KeyValuePair<string, ShaderProps> UniGLTF_UniUnlit
{
get
{
return new KeyValuePair<string, ShaderProps>(
"UniGLTF/UniUnlit",
new ShaderProps
{
Properties = new ShaderProperty[]{
new ShaderProperty("_MainTex", ShaderPropertyType.TexEnv)
,new ShaderProperty("_Color", ShaderPropertyType.Color)
,new ShaderProperty("_Cutoff", ShaderPropertyType.Range)
,new ShaderProperty("_BlendMode", ShaderPropertyType.Float)
,new ShaderProperty("_CullMode", ShaderPropertyType.Float)
,new ShaderProperty("_VColBlendMode", ShaderPropertyType.Float)
,new ShaderProperty("_SrcBlend", ShaderPropertyType.Float)
,new ShaderProperty("_DstBlend", ShaderPropertyType.Float)
,new ShaderProperty("_ZWrite", ShaderPropertyType.Float)
}
}
);
}
}
}
}