summaryrefslogtreecommitdiff
path: root/Assets/ThirdParty/VRM/VRMShaders/ShaderProperty/Runtime/GLTF/Unlit_Texture.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Assets/ThirdParty/VRM/VRMShaders/ShaderProperty/Runtime/GLTF/Unlit_Texture.cs')
-rw-r--r--Assets/ThirdParty/VRM/VRMShaders/ShaderProperty/Runtime/GLTF/Unlit_Texture.cs26
1 files changed, 26 insertions, 0 deletions
diff --git a/Assets/ThirdParty/VRM/VRMShaders/ShaderProperty/Runtime/GLTF/Unlit_Texture.cs b/Assets/ThirdParty/VRM/VRMShaders/ShaderProperty/Runtime/GLTF/Unlit_Texture.cs
new file mode 100644
index 00000000..ed6f487a
--- /dev/null
+++ b/Assets/ThirdParty/VRM/VRMShaders/ShaderProperty/Runtime/GLTF/Unlit_Texture.cs
@@ -0,0 +1,26 @@
+using System.Collections.Generic;
+
+
+namespace UniGLTF.ShaderPropExporter
+{
+ public static partial class PreShaderPropExporter
+ {
+ [PreExportShader]
+ static KeyValuePair<string, ShaderProps> Unlit_Texture
+ {
+ get
+ {
+ return new KeyValuePair<string, ShaderProps>(
+ "Unlit/Texture",
+ new ShaderProps
+ {
+ Properties = new ShaderProperty[]{
+new ShaderProperty("_MainTex", ShaderPropertyType.TexEnv)
+
+ }
+ }
+ );
+ }
+ }
+ }
+}