mirror of
https://github.com/vrm-c/UniVRM.git
synced 2026-05-15 23:20:10 -05:00
35 lines
1.1 KiB
C#
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)
|
|
|
|
}
|
|
}
|
|
);
|
|
}
|
|
}
|
|
}
|
|
}
|