diff options
Diffstat (limited to 'Assets/ThirdParty/VRM/VRMShaders/ShaderProperty/Runtime/GLTF/UniGLTF_UniUnlit.cs')
-rw-r--r-- | Assets/ThirdParty/VRM/VRMShaders/ShaderProperty/Runtime/GLTF/UniGLTF_UniUnlit.cs | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/Assets/ThirdParty/VRM/VRMShaders/ShaderProperty/Runtime/GLTF/UniGLTF_UniUnlit.cs b/Assets/ThirdParty/VRM/VRMShaders/ShaderProperty/Runtime/GLTF/UniGLTF_UniUnlit.cs new file mode 100644 index 00000000..ce4503a7 --- /dev/null +++ b/Assets/ThirdParty/VRM/VRMShaders/ShaderProperty/Runtime/GLTF/UniGLTF_UniUnlit.cs @@ -0,0 +1,34 @@ +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) + + } + } + ); + } + } + } +} |