From 8b384dffa0d9c63c7a657c6e567c2ddefbf046cd Mon Sep 17 00:00:00 2001 From: chai Date: Sun, 11 Oct 2020 20:00:58 +0800 Subject: +Saionji show off scene --- .../Runtime/GLTF/Unlit_Transparent_Cutout.cs | 27 ++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 Assets/ThirdParty/VRM/VRMShaders/ShaderProperty/Runtime/GLTF/Unlit_Transparent_Cutout.cs (limited to 'Assets/ThirdParty/VRM/VRMShaders/ShaderProperty/Runtime/GLTF/Unlit_Transparent_Cutout.cs') diff --git a/Assets/ThirdParty/VRM/VRMShaders/ShaderProperty/Runtime/GLTF/Unlit_Transparent_Cutout.cs b/Assets/ThirdParty/VRM/VRMShaders/ShaderProperty/Runtime/GLTF/Unlit_Transparent_Cutout.cs new file mode 100644 index 00000000..ebe366b5 --- /dev/null +++ b/Assets/ThirdParty/VRM/VRMShaders/ShaderProperty/Runtime/GLTF/Unlit_Transparent_Cutout.cs @@ -0,0 +1,27 @@ +using System.Collections.Generic; + + +namespace UniGLTF.ShaderPropExporter +{ + public static partial class PreShaderPropExporter + { + [PreExportShader] + static KeyValuePair Unlit_Transparent_Cutout + { + get + { + return new KeyValuePair( + "Unlit/Transparent Cutout", + new ShaderProps + { + Properties = new ShaderProperty[]{ +new ShaderProperty("_MainTex", ShaderPropertyType.TexEnv) +,new ShaderProperty("_Cutoff", ShaderPropertyType.Range) + + } + } + ); + } + } + } +} -- cgit v1.1-26-g67d0