summaryrefslogtreecommitdiff
path: root/Assets/ThirdParty/VRM/VRMShaders/ShaderProperty
diff options
context:
space:
mode:
Diffstat (limited to 'Assets/ThirdParty/VRM/VRMShaders/ShaderProperty')
-rw-r--r--Assets/ThirdParty/VRM/VRMShaders/ShaderProperty/Editor.meta8
-rw-r--r--Assets/ThirdParty/VRM/VRMShaders/ShaderProperty/Editor/ShaderPropMenu.cs99
-rw-r--r--Assets/ThirdParty/VRM/VRMShaders/ShaderProperty/Editor/ShaderPropMenu.cs.meta11
-rw-r--r--Assets/ThirdParty/VRM/VRMShaders/ShaderProperty/Editor/ShaderProperty.Editor.asmdef12
-rw-r--r--Assets/ThirdParty/VRM/VRMShaders/ShaderProperty/Editor/ShaderProperty.Editor.asmdef.meta7
-rw-r--r--Assets/ThirdParty/VRM/VRMShaders/ShaderProperty/Runtime.meta8
-rw-r--r--Assets/ThirdParty/VRM/VRMShaders/ShaderProperty/Runtime/GLTF.meta8
-rw-r--r--Assets/ThirdParty/VRM/VRMShaders/ShaderProperty/Runtime/GLTF/PreExportShaders_GLTF.cs20
-rw-r--r--Assets/ThirdParty/VRM/VRMShaders/ShaderProperty/Runtime/GLTF/PreExportShaders_GLTF.cs.meta11
-rw-r--r--Assets/ThirdParty/VRM/VRMShaders/ShaderProperty/Runtime/GLTF/Standard.cs52
-rw-r--r--Assets/ThirdParty/VRM/VRMShaders/ShaderProperty/Runtime/GLTF/Standard.cs.meta12
-rw-r--r--Assets/ThirdParty/VRM/VRMShaders/ShaderProperty/Runtime/GLTF/UniGLTF_UniUnlit.cs34
-rw-r--r--Assets/ThirdParty/VRM/VRMShaders/ShaderProperty/Runtime/GLTF/UniGLTF_UniUnlit.cs.meta12
-rw-r--r--Assets/ThirdParty/VRM/VRMShaders/ShaderProperty/Runtime/GLTF/Unlit_Color.cs26
-rw-r--r--Assets/ThirdParty/VRM/VRMShaders/ShaderProperty/Runtime/GLTF/Unlit_Color.cs.meta12
-rw-r--r--Assets/ThirdParty/VRM/VRMShaders/ShaderProperty/Runtime/GLTF/Unlit_Texture.cs26
-rw-r--r--Assets/ThirdParty/VRM/VRMShaders/ShaderProperty/Runtime/GLTF/Unlit_Texture.cs.meta12
-rw-r--r--Assets/ThirdParty/VRM/VRMShaders/ShaderProperty/Runtime/GLTF/Unlit_Transparent.cs26
-rw-r--r--Assets/ThirdParty/VRM/VRMShaders/ShaderProperty/Runtime/GLTF/Unlit_Transparent.cs.meta12
-rw-r--r--Assets/ThirdParty/VRM/VRMShaders/ShaderProperty/Runtime/GLTF/Unlit_Transparent_Cutout.cs27
-rw-r--r--Assets/ThirdParty/VRM/VRMShaders/ShaderProperty/Runtime/GLTF/Unlit_Transparent_Cutout.cs.meta12
-rw-r--r--Assets/ThirdParty/VRM/VRMShaders/ShaderProperty/Runtime/PreShaderPropExporter.cs64
-rw-r--r--Assets/ThirdParty/VRM/VRMShaders/ShaderProperty/Runtime/PreShaderPropExporter.cs.meta12
-rw-r--r--Assets/ThirdParty/VRM/VRMShaders/ShaderProperty/Runtime/ShaderProperty.Runtime.asmdef8
-rw-r--r--Assets/ThirdParty/VRM/VRMShaders/ShaderProperty/Runtime/ShaderProperty.Runtime.asmdef.meta7
-rw-r--r--Assets/ThirdParty/VRM/VRMShaders/ShaderProperty/Runtime/ShaderProps.cs67
-rw-r--r--Assets/ThirdParty/VRM/VRMShaders/ShaderProperty/Runtime/ShaderProps.cs.meta12
-rw-r--r--Assets/ThirdParty/VRM/VRMShaders/ShaderProperty/Runtime/VRM.meta8
-rw-r--r--Assets/ThirdParty/VRM/VRMShaders/ShaderProperty/Runtime/VRM/PreExportShaders_VRM.cs16
-rw-r--r--Assets/ThirdParty/VRM/VRMShaders/ShaderProperty/Runtime/VRM/PreExportShaders_VRM.cs.meta12
-rw-r--r--Assets/ThirdParty/VRM/VRMShaders/ShaderProperty/Runtime/VRM/VRM_MToon.cs67
-rw-r--r--Assets/ThirdParty/VRM/VRMShaders/ShaderProperty/Runtime/VRM/VRM_MToon.cs.meta12
-rw-r--r--Assets/ThirdParty/VRM/VRMShaders/ShaderProperty/Runtime/VRM/VRM_UnlitCutout.cs27
-rw-r--r--Assets/ThirdParty/VRM/VRMShaders/ShaderProperty/Runtime/VRM/VRM_UnlitCutout.cs.meta12
-rw-r--r--Assets/ThirdParty/VRM/VRMShaders/ShaderProperty/Runtime/VRM/VRM_UnlitTexture.cs26
-rw-r--r--Assets/ThirdParty/VRM/VRMShaders/ShaderProperty/Runtime/VRM/VRM_UnlitTexture.cs.meta12
-rw-r--r--Assets/ThirdParty/VRM/VRMShaders/ShaderProperty/Runtime/VRM/VRM_UnlitTransparent.cs26
-rw-r--r--Assets/ThirdParty/VRM/VRMShaders/ShaderProperty/Runtime/VRM/VRM_UnlitTransparent.cs.meta12
-rw-r--r--Assets/ThirdParty/VRM/VRMShaders/ShaderProperty/Runtime/VRM/VRM_UnlitTransparentZWrite.cs26
-rw-r--r--Assets/ThirdParty/VRM/VRMShaders/ShaderProperty/Runtime/VRM/VRM_UnlitTransparentZWrite.cs.meta12
40 files changed, 885 insertions, 0 deletions
diff --git a/Assets/ThirdParty/VRM/VRMShaders/ShaderProperty/Editor.meta b/Assets/ThirdParty/VRM/VRMShaders/ShaderProperty/Editor.meta
new file mode 100644
index 00000000..8ccaa983
--- /dev/null
+++ b/Assets/ThirdParty/VRM/VRMShaders/ShaderProperty/Editor.meta
@@ -0,0 +1,8 @@
+fileFormatVersion: 2
+guid: 36a5a07493511bd49b1ad9dbad2683d2
+folderAsset: yes
+DefaultImporter:
+ externalObjects: {}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Assets/ThirdParty/VRM/VRMShaders/ShaderProperty/Editor/ShaderPropMenu.cs b/Assets/ThirdParty/VRM/VRMShaders/ShaderProperty/Editor/ShaderPropMenu.cs
new file mode 100644
index 00000000..b13dec97
--- /dev/null
+++ b/Assets/ThirdParty/VRM/VRMShaders/ShaderProperty/Editor/ShaderPropMenu.cs
@@ -0,0 +1,99 @@
+using System.Reflection;
+using System.Linq;
+using UnityEditor;
+using UnityEngine;
+using System.IO;
+using UniGLTF.ShaderPropExporter;
+using System.Collections.Generic;
+
+namespace UniGLTF
+{
+ public static class ShaderPropMenu
+ {
+#if VRM_DEVELOP
+ [MenuItem("VRM/ShaderProperty/PreExport ShaderProps")]
+#endif
+ public static void PreExport()
+ {
+ foreach (var fi in typeof(PreExportShaders).GetFields(
+ BindingFlags.Static
+ | BindingFlags.Public
+ | BindingFlags.NonPublic))
+ {
+ var attr = fi.GetCustomAttributes(true).FirstOrDefault(y => y is PreExportShadersAttribute);
+ if (attr != null)
+ {
+ var supportedShaders = fi.GetValue(null) as SupportedShader[];
+ foreach (var supported in supportedShaders)
+ {
+ PreExport(supported);
+ }
+ }
+ }
+ }
+
+ static string EscapeShaderName(string name)
+ {
+ return name.Replace("/", "_").Replace(" ", "_");
+ }
+
+ static string ExportDir
+ {
+ get
+ {
+ return Application.dataPath + "/VRM/ShaderProperty/Runtime";
+ }
+ }
+
+ static void PreExport(SupportedShader supportedShader)
+ {
+ var shader = Shader.Find(supportedShader.ShaderName);
+ var props = ShaderProps.FromShader(shader);
+
+ var path = Path.Combine(ExportDir, supportedShader.TargetFolder);
+ path = Path.Combine(path, EscapeShaderName(supportedShader.ShaderName) + ".cs").Replace("\\", "/");
+ Debug.LogFormat("PreExport: {0}", path);
+ File.WriteAllText(path, ToString(props, shader.name));
+ }
+
+ static string ToString(ShaderProps props, string shaderName)
+ {
+ var list = new List<string>();
+ foreach (var prop in props.Properties)
+ {
+ list.Add(string.Format("new ShaderProperty(\"{0}\", ShaderPropertyType.{1})\r\n", prop.Key, prop.ShaderPropertyType));
+ }
+
+ return string.Format(@"using System.Collections.Generic;
+
+
+namespace UniGLTF.ShaderPropExporter
+{{
+ public static partial class PreShaderPropExporter
+ {{
+ [PreExportShader]
+ static KeyValuePair<string, ShaderProps> {0}
+ {{
+ get
+ {{
+ return new KeyValuePair<string, ShaderProps>(
+ ""{1}"",
+ new ShaderProps
+ {{
+ Properties = new ShaderProperty[]{{
+{2}
+ }}
+ }}
+ );
+ }}
+ }}
+ }}
+}}
+"
+, EscapeShaderName(shaderName)
+, shaderName
+, string.Join(",", list.ToArray()));
+ }
+
+ }
+}
diff --git a/Assets/ThirdParty/VRM/VRMShaders/ShaderProperty/Editor/ShaderPropMenu.cs.meta b/Assets/ThirdParty/VRM/VRMShaders/ShaderProperty/Editor/ShaderPropMenu.cs.meta
new file mode 100644
index 00000000..0626004d
--- /dev/null
+++ b/Assets/ThirdParty/VRM/VRMShaders/ShaderProperty/Editor/ShaderPropMenu.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: 5eb12c186c6337e4db278b5f01d47cae
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Assets/ThirdParty/VRM/VRMShaders/ShaderProperty/Editor/ShaderProperty.Editor.asmdef b/Assets/ThirdParty/VRM/VRMShaders/ShaderProperty/Editor/ShaderProperty.Editor.asmdef
new file mode 100644
index 00000000..382622a7
--- /dev/null
+++ b/Assets/ThirdParty/VRM/VRMShaders/ShaderProperty/Editor/ShaderProperty.Editor.asmdef
@@ -0,0 +1,12 @@
+{
+ "name": "ShaderProperty.Editor",
+ "references": [
+ "ShaderProperty.Runtime"
+ ],
+ "optionalUnityReferences": [],
+ "includePlatforms": [
+ "Editor"
+ ],
+ "excludePlatforms": [],
+ "allowUnsafeCode": false
+} \ No newline at end of file
diff --git a/Assets/ThirdParty/VRM/VRMShaders/ShaderProperty/Editor/ShaderProperty.Editor.asmdef.meta b/Assets/ThirdParty/VRM/VRMShaders/ShaderProperty/Editor/ShaderProperty.Editor.asmdef.meta
new file mode 100644
index 00000000..f5affb98
--- /dev/null
+++ b/Assets/ThirdParty/VRM/VRMShaders/ShaderProperty/Editor/ShaderProperty.Editor.asmdef.meta
@@ -0,0 +1,7 @@
+fileFormatVersion: 2
+guid: bc66ece0f33b52446a0830c05781d4db
+AssemblyDefinitionImporter:
+ externalObjects: {}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Assets/ThirdParty/VRM/VRMShaders/ShaderProperty/Runtime.meta b/Assets/ThirdParty/VRM/VRMShaders/ShaderProperty/Runtime.meta
new file mode 100644
index 00000000..8fa342db
--- /dev/null
+++ b/Assets/ThirdParty/VRM/VRMShaders/ShaderProperty/Runtime.meta
@@ -0,0 +1,8 @@
+fileFormatVersion: 2
+guid: dd900b6f302c9404b99d77a1ae3d00be
+folderAsset: yes
+DefaultImporter:
+ externalObjects: {}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Assets/ThirdParty/VRM/VRMShaders/ShaderProperty/Runtime/GLTF.meta b/Assets/ThirdParty/VRM/VRMShaders/ShaderProperty/Runtime/GLTF.meta
new file mode 100644
index 00000000..38d4fd8e
--- /dev/null
+++ b/Assets/ThirdParty/VRM/VRMShaders/ShaderProperty/Runtime/GLTF.meta
@@ -0,0 +1,8 @@
+fileFormatVersion: 2
+guid: d9c97ad7f5bbcac489a47a2f34dfff00
+folderAsset: yes
+DefaultImporter:
+ externalObjects: {}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Assets/ThirdParty/VRM/VRMShaders/ShaderProperty/Runtime/GLTF/PreExportShaders_GLTF.cs b/Assets/ThirdParty/VRM/VRMShaders/ShaderProperty/Runtime/GLTF/PreExportShaders_GLTF.cs
new file mode 100644
index 00000000..f6fcb767
--- /dev/null
+++ b/Assets/ThirdParty/VRM/VRMShaders/ShaderProperty/Runtime/GLTF/PreExportShaders_GLTF.cs
@@ -0,0 +1,20 @@
+namespace UniGLTF.ShaderPropExporter
+{
+ public static partial class PreExportShaders
+ {
+ const string GLTF_FOLDER = "GLTF";
+
+#pragma warning disable 414
+ [PreExportShaders]
+ static SupportedShader[] SupportedShaders = new SupportedShader[]
+ {
+ new SupportedShader(GLTF_FOLDER, "Standard"),
+ new SupportedShader(GLTF_FOLDER, "Unlit/Color"),
+ new SupportedShader(GLTF_FOLDER, "Unlit/Texture"),
+ new SupportedShader(GLTF_FOLDER, "Unlit/Transparent"),
+ new SupportedShader(GLTF_FOLDER, "Unlit/Transparent Cutout"),
+ new SupportedShader(GLTF_FOLDER, "UniGLTF/UniUnlit"),
+ };
+#pragma warning restore 414
+ }
+}
diff --git a/Assets/ThirdParty/VRM/VRMShaders/ShaderProperty/Runtime/GLTF/PreExportShaders_GLTF.cs.meta b/Assets/ThirdParty/VRM/VRMShaders/ShaderProperty/Runtime/GLTF/PreExportShaders_GLTF.cs.meta
new file mode 100644
index 00000000..fa17b509
--- /dev/null
+++ b/Assets/ThirdParty/VRM/VRMShaders/ShaderProperty/Runtime/GLTF/PreExportShaders_GLTF.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: 90dcef1978c51e74386b76d77689dc82
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Assets/ThirdParty/VRM/VRMShaders/ShaderProperty/Runtime/GLTF/Standard.cs b/Assets/ThirdParty/VRM/VRMShaders/ShaderProperty/Runtime/GLTF/Standard.cs
new file mode 100644
index 00000000..aa5b342d
--- /dev/null
+++ b/Assets/ThirdParty/VRM/VRMShaders/ShaderProperty/Runtime/GLTF/Standard.cs
@@ -0,0 +1,52 @@
+using System.Collections.Generic;
+
+
+namespace UniGLTF.ShaderPropExporter
+{
+ public static partial class PreShaderPropExporter
+ {
+ [PreExportShader]
+ static KeyValuePair<string, ShaderProps> Standard
+ {
+ get
+ {
+ return new KeyValuePair<string, ShaderProps>(
+ "Standard",
+ new ShaderProps
+ {
+ Properties = new ShaderProperty[]{
+new ShaderProperty("_Color", ShaderPropertyType.Color)
+,new ShaderProperty("_MainTex", ShaderPropertyType.TexEnv)
+,new ShaderProperty("_Cutoff", ShaderPropertyType.Range)
+,new ShaderProperty("_Glossiness", ShaderPropertyType.Range)
+,new ShaderProperty("_GlossMapScale", ShaderPropertyType.Range)
+,new ShaderProperty("_SmoothnessTextureChannel", ShaderPropertyType.Float)
+,new ShaderProperty("_Metallic", ShaderPropertyType.Range)
+,new ShaderProperty("_MetallicGlossMap", ShaderPropertyType.TexEnv)
+,new ShaderProperty("_SpecularHighlights", ShaderPropertyType.Float)
+,new ShaderProperty("_GlossyReflections", ShaderPropertyType.Float)
+,new ShaderProperty("_BumpScale", ShaderPropertyType.Float)
+,new ShaderProperty("_BumpMap", ShaderPropertyType.TexEnv)
+,new ShaderProperty("_Parallax", ShaderPropertyType.Range)
+,new ShaderProperty("_ParallaxMap", ShaderPropertyType.TexEnv)
+,new ShaderProperty("_OcclusionStrength", ShaderPropertyType.Range)
+,new ShaderProperty("_OcclusionMap", ShaderPropertyType.TexEnv)
+,new ShaderProperty("_EmissionColor", ShaderPropertyType.Color)
+,new ShaderProperty("_EmissionMap", ShaderPropertyType.TexEnv)
+,new ShaderProperty("_DetailMask", ShaderPropertyType.TexEnv)
+,new ShaderProperty("_DetailAlbedoMap", ShaderPropertyType.TexEnv)
+,new ShaderProperty("_DetailNormalMapScale", ShaderPropertyType.Float)
+,new ShaderProperty("_DetailNormalMap", ShaderPropertyType.TexEnv)
+,new ShaderProperty("_UVSec", ShaderPropertyType.Float)
+,new ShaderProperty("_Mode", ShaderPropertyType.Float)
+,new ShaderProperty("_SrcBlend", ShaderPropertyType.Float)
+,new ShaderProperty("_DstBlend", ShaderPropertyType.Float)
+,new ShaderProperty("_ZWrite", ShaderPropertyType.Float)
+
+ }
+ }
+ );
+ }
+ }
+ }
+}
diff --git a/Assets/ThirdParty/VRM/VRMShaders/ShaderProperty/Runtime/GLTF/Standard.cs.meta b/Assets/ThirdParty/VRM/VRMShaders/ShaderProperty/Runtime/GLTF/Standard.cs.meta
new file mode 100644
index 00000000..abf6b6c8
--- /dev/null
+++ b/Assets/ThirdParty/VRM/VRMShaders/ShaderProperty/Runtime/GLTF/Standard.cs.meta
@@ -0,0 +1,12 @@
+fileFormatVersion: 2
+guid: 54043e349b047bf4b8f127cd919a757d
+timeCreated: 1533542890
+licenseType: Free
+MonoImporter:
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
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)
+
+ }
+ }
+ );
+ }
+ }
+ }
+}
diff --git a/Assets/ThirdParty/VRM/VRMShaders/ShaderProperty/Runtime/GLTF/UniGLTF_UniUnlit.cs.meta b/Assets/ThirdParty/VRM/VRMShaders/ShaderProperty/Runtime/GLTF/UniGLTF_UniUnlit.cs.meta
new file mode 100644
index 00000000..c1315f41
--- /dev/null
+++ b/Assets/ThirdParty/VRM/VRMShaders/ShaderProperty/Runtime/GLTF/UniGLTF_UniUnlit.cs.meta
@@ -0,0 +1,12 @@
+fileFormatVersion: 2
+guid: ad4b6b115b83ecd48a513f697afc95f0
+timeCreated: 1537860074
+licenseType: Free
+MonoImporter:
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Assets/ThirdParty/VRM/VRMShaders/ShaderProperty/Runtime/GLTF/Unlit_Color.cs b/Assets/ThirdParty/VRM/VRMShaders/ShaderProperty/Runtime/GLTF/Unlit_Color.cs
new file mode 100644
index 00000000..1ef6c3a0
--- /dev/null
+++ b/Assets/ThirdParty/VRM/VRMShaders/ShaderProperty/Runtime/GLTF/Unlit_Color.cs
@@ -0,0 +1,26 @@
+using System.Collections.Generic;
+
+
+namespace UniGLTF.ShaderPropExporter
+{
+ public static partial class PreShaderPropExporter
+ {
+ [PreExportShader]
+ static KeyValuePair<string, ShaderProps> Unlit_Color
+ {
+ get
+ {
+ return new KeyValuePair<string, ShaderProps>(
+ "Unlit/Color",
+ new ShaderProps
+ {
+ Properties = new ShaderProperty[]{
+new ShaderProperty("_Color", ShaderPropertyType.Color)
+
+ }
+ }
+ );
+ }
+ }
+ }
+}
diff --git a/Assets/ThirdParty/VRM/VRMShaders/ShaderProperty/Runtime/GLTF/Unlit_Color.cs.meta b/Assets/ThirdParty/VRM/VRMShaders/ShaderProperty/Runtime/GLTF/Unlit_Color.cs.meta
new file mode 100644
index 00000000..4f97a3c6
--- /dev/null
+++ b/Assets/ThirdParty/VRM/VRMShaders/ShaderProperty/Runtime/GLTF/Unlit_Color.cs.meta
@@ -0,0 +1,12 @@
+fileFormatVersion: 2
+guid: 4f91421c5846d5d48933d2ee4ffeeceb
+timeCreated: 1535186213
+licenseType: Free
+MonoImporter:
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
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)
+
+ }
+ }
+ );
+ }
+ }
+ }
+}
diff --git a/Assets/ThirdParty/VRM/VRMShaders/ShaderProperty/Runtime/GLTF/Unlit_Texture.cs.meta b/Assets/ThirdParty/VRM/VRMShaders/ShaderProperty/Runtime/GLTF/Unlit_Texture.cs.meta
new file mode 100644
index 00000000..83320688
--- /dev/null
+++ b/Assets/ThirdParty/VRM/VRMShaders/ShaderProperty/Runtime/GLTF/Unlit_Texture.cs.meta
@@ -0,0 +1,12 @@
+fileFormatVersion: 2
+guid: 8273e1e61ad8e914baae94d06836f2ad
+timeCreated: 1535186213
+licenseType: Free
+MonoImporter:
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Assets/ThirdParty/VRM/VRMShaders/ShaderProperty/Runtime/GLTF/Unlit_Transparent.cs b/Assets/ThirdParty/VRM/VRMShaders/ShaderProperty/Runtime/GLTF/Unlit_Transparent.cs
new file mode 100644
index 00000000..cad3b4b9
--- /dev/null
+++ b/Assets/ThirdParty/VRM/VRMShaders/ShaderProperty/Runtime/GLTF/Unlit_Transparent.cs
@@ -0,0 +1,26 @@
+using System.Collections.Generic;
+
+
+namespace UniGLTF.ShaderPropExporter
+{
+ public static partial class PreShaderPropExporter
+ {
+ [PreExportShader]
+ static KeyValuePair<string, ShaderProps> Unlit_Transparent
+ {
+ get
+ {
+ return new KeyValuePair<string, ShaderProps>(
+ "Unlit/Transparent",
+ new ShaderProps
+ {
+ Properties = new ShaderProperty[]{
+new ShaderProperty("_MainTex", ShaderPropertyType.TexEnv)
+
+ }
+ }
+ );
+ }
+ }
+ }
+}
diff --git a/Assets/ThirdParty/VRM/VRMShaders/ShaderProperty/Runtime/GLTF/Unlit_Transparent.cs.meta b/Assets/ThirdParty/VRM/VRMShaders/ShaderProperty/Runtime/GLTF/Unlit_Transparent.cs.meta
new file mode 100644
index 00000000..f64c6558
--- /dev/null
+++ b/Assets/ThirdParty/VRM/VRMShaders/ShaderProperty/Runtime/GLTF/Unlit_Transparent.cs.meta
@@ -0,0 +1,12 @@
+fileFormatVersion: 2
+guid: b98a8ee8ca13abb43809305cc4e5571a
+timeCreated: 1535186213
+licenseType: Free
+MonoImporter:
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
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<string, ShaderProps> Unlit_Transparent_Cutout
+ {
+ get
+ {
+ return new KeyValuePair<string, ShaderProps>(
+ "Unlit/Transparent Cutout",
+ new ShaderProps
+ {
+ Properties = new ShaderProperty[]{
+new ShaderProperty("_MainTex", ShaderPropertyType.TexEnv)
+,new ShaderProperty("_Cutoff", ShaderPropertyType.Range)
+
+ }
+ }
+ );
+ }
+ }
+ }
+}
diff --git a/Assets/ThirdParty/VRM/VRMShaders/ShaderProperty/Runtime/GLTF/Unlit_Transparent_Cutout.cs.meta b/Assets/ThirdParty/VRM/VRMShaders/ShaderProperty/Runtime/GLTF/Unlit_Transparent_Cutout.cs.meta
new file mode 100644
index 00000000..5ffeb3f4
--- /dev/null
+++ b/Assets/ThirdParty/VRM/VRMShaders/ShaderProperty/Runtime/GLTF/Unlit_Transparent_Cutout.cs.meta
@@ -0,0 +1,12 @@
+fileFormatVersion: 2
+guid: 844490f13976543478d82efe28251941
+timeCreated: 1535186301
+licenseType: Free
+MonoImporter:
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Assets/ThirdParty/VRM/VRMShaders/ShaderProperty/Runtime/PreShaderPropExporter.cs b/Assets/ThirdParty/VRM/VRMShaders/ShaderProperty/Runtime/PreShaderPropExporter.cs
new file mode 100644
index 00000000..bdc6b49d
--- /dev/null
+++ b/Assets/ThirdParty/VRM/VRMShaders/ShaderProperty/Runtime/PreShaderPropExporter.cs
@@ -0,0 +1,64 @@
+using System;
+using System.Collections.Generic;
+using System.IO;
+using System.Linq;
+using System.Reflection;
+using UnityEngine;
+#if UNITY_EDITOR
+using UnityEditor;
+#endif
+
+
+namespace UniGLTF.ShaderPropExporter
+{
+ public class PreExportShadersAttribute : Attribute { }
+ public class PreExportShaderAttribute : Attribute { }
+
+ public struct SupportedShader
+ {
+ public string TargetFolder;
+ public string ShaderName;
+
+ public SupportedShader(string targetFolder, string shaderName)
+ {
+ TargetFolder = targetFolder;
+ ShaderName = shaderName;
+ }
+ }
+
+ public static partial class PreShaderPropExporter
+ {
+ static Dictionary<string, ShaderProps> m_shaderPropMap;
+
+ public static ShaderProps GetPropsForSupportedShader(string shaderName)
+ {
+ if (m_shaderPropMap == null)
+ {
+ m_shaderPropMap = new Dictionary<string, ShaderProps>();
+ foreach (var prop in typeof(PreShaderPropExporter).GetProperties(BindingFlags.Static | BindingFlags.Public | BindingFlags.NonPublic))
+ {
+ if (prop.GetCustomAttributes(typeof(PreExportShaderAttribute), true).Any())
+ {
+ var kv = (KeyValuePair<string, ShaderProps>)prop.GetValue(null, null);
+ m_shaderPropMap.Add(kv.Key, kv.Value);
+ }
+ }
+ }
+
+ ShaderProps props;
+ if (m_shaderPropMap.TryGetValue(shaderName, out props))
+ {
+ return props;
+ }
+
+#if UNITY_EDITOR
+ // fallback
+ Debug.LogWarningFormat("{0} is not predefined shader. Use ShaderUtil", shaderName);
+ var shader = Shader.Find(shaderName);
+ return ShaderProps.FromShader(shader);
+#else
+ return null;
+#endif
+ }
+ }
+}
diff --git a/Assets/ThirdParty/VRM/VRMShaders/ShaderProperty/Runtime/PreShaderPropExporter.cs.meta b/Assets/ThirdParty/VRM/VRMShaders/ShaderProperty/Runtime/PreShaderPropExporter.cs.meta
new file mode 100644
index 00000000..431e9cca
--- /dev/null
+++ b/Assets/ThirdParty/VRM/VRMShaders/ShaderProperty/Runtime/PreShaderPropExporter.cs.meta
@@ -0,0 +1,12 @@
+fileFormatVersion: 2
+guid: 50935dd2f9f3fa445a687f30d4dd663b
+timeCreated: 1533035131
+licenseType: Free
+MonoImporter:
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Assets/ThirdParty/VRM/VRMShaders/ShaderProperty/Runtime/ShaderProperty.Runtime.asmdef b/Assets/ThirdParty/VRM/VRMShaders/ShaderProperty/Runtime/ShaderProperty.Runtime.asmdef
new file mode 100644
index 00000000..ed0a498d
--- /dev/null
+++ b/Assets/ThirdParty/VRM/VRMShaders/ShaderProperty/Runtime/ShaderProperty.Runtime.asmdef
@@ -0,0 +1,8 @@
+{
+ "name": "ShaderProperty.Runtime",
+ "references": [],
+ "optionalUnityReferences": [],
+ "includePlatforms": [],
+ "excludePlatforms": [],
+ "allowUnsafeCode": false
+} \ No newline at end of file
diff --git a/Assets/ThirdParty/VRM/VRMShaders/ShaderProperty/Runtime/ShaderProperty.Runtime.asmdef.meta b/Assets/ThirdParty/VRM/VRMShaders/ShaderProperty/Runtime/ShaderProperty.Runtime.asmdef.meta
new file mode 100644
index 00000000..ec0da628
--- /dev/null
+++ b/Assets/ThirdParty/VRM/VRMShaders/ShaderProperty/Runtime/ShaderProperty.Runtime.asmdef.meta
@@ -0,0 +1,7 @@
+fileFormatVersion: 2
+guid: 301b251fd9834274c9228e0532f444f7
+AssemblyDefinitionImporter:
+ externalObjects: {}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Assets/ThirdParty/VRM/VRMShaders/ShaderProperty/Runtime/ShaderProps.cs b/Assets/ThirdParty/VRM/VRMShaders/ShaderProperty/Runtime/ShaderProps.cs
new file mode 100644
index 00000000..36d9a825
--- /dev/null
+++ b/Assets/ThirdParty/VRM/VRMShaders/ShaderProperty/Runtime/ShaderProps.cs
@@ -0,0 +1,67 @@
+#if UNITY_EDITOR
+using System;
+using System.Collections.Generic;
+using UnityEditor;
+using UnityEngine;
+#endif
+
+
+namespace UniGLTF.ShaderPropExporter
+{
+ public enum ShaderPropertyType
+ {
+ TexEnv,
+ Color,
+ Range,
+ Float,
+ Vector,
+ }
+
+ public struct ShaderProperty
+ {
+ public string Key;
+ public ShaderPropertyType ShaderPropertyType;
+
+ public ShaderProperty(string key, ShaderPropertyType propType)
+ {
+ Key = key;
+ ShaderPropertyType = propType;
+ }
+ }
+
+ public class ShaderProps
+ {
+ public ShaderProperty[] Properties;
+
+#if UNITY_EDITOR
+ static ShaderPropertyType ConvType(ShaderUtil.ShaderPropertyType src)
+ {
+ switch (src)
+ {
+ case ShaderUtil.ShaderPropertyType.TexEnv: return ShaderPropertyType.TexEnv;
+ case ShaderUtil.ShaderPropertyType.Color: return ShaderPropertyType.Color;
+ case ShaderUtil.ShaderPropertyType.Float: return ShaderPropertyType.Float;
+ case ShaderUtil.ShaderPropertyType.Range: return ShaderPropertyType.Range;
+ case ShaderUtil.ShaderPropertyType.Vector: return ShaderPropertyType.Vector;
+ default: throw new NotImplementedException();
+ }
+ }
+
+ public static ShaderProps FromShader(Shader shader)
+ {
+ var properties = new List<ShaderProperty>();
+ for (int i = 0; i < ShaderUtil.GetPropertyCount(shader); ++i)
+ {
+ var name = ShaderUtil.GetPropertyName(shader, i);
+ var propType = ShaderUtil.GetPropertyType(shader, i);
+ properties.Add(new ShaderProperty(name, ConvType(propType)));
+ }
+
+ return new ShaderProps
+ {
+ Properties = properties.ToArray(),
+ };
+ }
+#endif
+ }
+}
diff --git a/Assets/ThirdParty/VRM/VRMShaders/ShaderProperty/Runtime/ShaderProps.cs.meta b/Assets/ThirdParty/VRM/VRMShaders/ShaderProperty/Runtime/ShaderProps.cs.meta
new file mode 100644
index 00000000..b078bfe6
--- /dev/null
+++ b/Assets/ThirdParty/VRM/VRMShaders/ShaderProperty/Runtime/ShaderProps.cs.meta
@@ -0,0 +1,12 @@
+fileFormatVersion: 2
+guid: 279964035c950b24cb745511298855dd
+timeCreated: 1533539330
+licenseType: Free
+MonoImporter:
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Assets/ThirdParty/VRM/VRMShaders/ShaderProperty/Runtime/VRM.meta b/Assets/ThirdParty/VRM/VRMShaders/ShaderProperty/Runtime/VRM.meta
new file mode 100644
index 00000000..6d0ee19d
--- /dev/null
+++ b/Assets/ThirdParty/VRM/VRMShaders/ShaderProperty/Runtime/VRM.meta
@@ -0,0 +1,8 @@
+fileFormatVersion: 2
+guid: eb31f565eeca6164694b06ccfe3bc251
+folderAsset: yes
+DefaultImporter:
+ externalObjects: {}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Assets/ThirdParty/VRM/VRMShaders/ShaderProperty/Runtime/VRM/PreExportShaders_VRM.cs b/Assets/ThirdParty/VRM/VRMShaders/ShaderProperty/Runtime/VRM/PreExportShaders_VRM.cs
new file mode 100644
index 00000000..f246304c
--- /dev/null
+++ b/Assets/ThirdParty/VRM/VRMShaders/ShaderProperty/Runtime/VRM/PreExportShaders_VRM.cs
@@ -0,0 +1,16 @@
+namespace UniGLTF.ShaderPropExporter
+{
+ public static partial class PreExportShaders
+ {
+ const string VRM_TARGET_FOLDER = "VRM";
+ [PreExportShaders]
+ public static SupportedShader[] VRMSupportedShaders = new SupportedShader[]
+ {
+ new SupportedShader(VRM_TARGET_FOLDER, "VRM/MToon"),
+ new SupportedShader(VRM_TARGET_FOLDER, "VRM/UnlitTexture"),
+ new SupportedShader(VRM_TARGET_FOLDER, "VRM/UnlitCutout"),
+ new SupportedShader(VRM_TARGET_FOLDER, "VRM/UnlitTransparent"),
+ new SupportedShader(VRM_TARGET_FOLDER, "VRM/UnlitTransparentZWrite"),
+ };
+ }
+}
diff --git a/Assets/ThirdParty/VRM/VRMShaders/ShaderProperty/Runtime/VRM/PreExportShaders_VRM.cs.meta b/Assets/ThirdParty/VRM/VRMShaders/ShaderProperty/Runtime/VRM/PreExportShaders_VRM.cs.meta
new file mode 100644
index 00000000..d0fd45ca
--- /dev/null
+++ b/Assets/ThirdParty/VRM/VRMShaders/ShaderProperty/Runtime/VRM/PreExportShaders_VRM.cs.meta
@@ -0,0 +1,12 @@
+fileFormatVersion: 2
+guid: 625b5ee8b5811dc4a915a2fbb2cb319d
+timeCreated: 1533035131
+licenseType: Free
+MonoImporter:
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Assets/ThirdParty/VRM/VRMShaders/ShaderProperty/Runtime/VRM/VRM_MToon.cs b/Assets/ThirdParty/VRM/VRMShaders/ShaderProperty/Runtime/VRM/VRM_MToon.cs
new file mode 100644
index 00000000..f5fc6f15
--- /dev/null
+++ b/Assets/ThirdParty/VRM/VRMShaders/ShaderProperty/Runtime/VRM/VRM_MToon.cs
@@ -0,0 +1,67 @@
+using System.Collections.Generic;
+
+
+namespace UniGLTF.ShaderPropExporter
+{
+ public static partial class PreShaderPropExporter
+ {
+ [PreExportShader]
+ static KeyValuePair<string, ShaderProps> VRM_MToon
+ {
+ get
+ {
+ return new KeyValuePair<string, ShaderProps>(
+ "VRM/MToon",
+ new ShaderProps
+ {
+ Properties = new ShaderProperty[]{
+new ShaderProperty("_Cutoff", ShaderPropertyType.Range)
+,new ShaderProperty("_Color", ShaderPropertyType.Color)
+,new ShaderProperty("_ShadeColor", ShaderPropertyType.Color)
+,new ShaderProperty("_MainTex", ShaderPropertyType.TexEnv)
+,new ShaderProperty("_ShadeTexture", ShaderPropertyType.TexEnv)
+,new ShaderProperty("_BumpScale", ShaderPropertyType.Float)
+,new ShaderProperty("_BumpMap", ShaderPropertyType.TexEnv)
+,new ShaderProperty("_ReceiveShadowRate", ShaderPropertyType.Range)
+,new ShaderProperty("_ReceiveShadowTexture", ShaderPropertyType.TexEnv)
+,new ShaderProperty("_ShadingGradeRate", ShaderPropertyType.Range)
+,new ShaderProperty("_ShadingGradeTexture", ShaderPropertyType.TexEnv)
+,new ShaderProperty("_ShadeShift", ShaderPropertyType.Range)
+,new ShaderProperty("_ShadeToony", ShaderPropertyType.Range)
+,new ShaderProperty("_LightColorAttenuation", ShaderPropertyType.Range)
+,new ShaderProperty("_IndirectLightIntensity", ShaderPropertyType.Range)
+,new ShaderProperty("_RimColor", ShaderPropertyType.Color)
+,new ShaderProperty("_RimTexture", ShaderPropertyType.TexEnv)
+,new ShaderProperty("_RimLightingMix", ShaderPropertyType.Range)
+,new ShaderProperty("_RimFresnelPower", ShaderPropertyType.Range)
+,new ShaderProperty("_RimLift", ShaderPropertyType.Range)
+,new ShaderProperty("_SphereAdd", ShaderPropertyType.TexEnv)
+,new ShaderProperty("_EmissionColor", ShaderPropertyType.Color)
+,new ShaderProperty("_EmissionMap", ShaderPropertyType.TexEnv)
+,new ShaderProperty("_OutlineWidthTexture", ShaderPropertyType.TexEnv)
+,new ShaderProperty("_OutlineWidth", ShaderPropertyType.Range)
+,new ShaderProperty("_OutlineScaledMaxDistance", ShaderPropertyType.Range)
+,new ShaderProperty("_OutlineColor", ShaderPropertyType.Color)
+,new ShaderProperty("_OutlineLightingMix", ShaderPropertyType.Range)
+,new ShaderProperty("_UvAnimMaskTexture", ShaderPropertyType.TexEnv)
+,new ShaderProperty("_UvAnimScrollX", ShaderPropertyType.Float)
+,new ShaderProperty("_UvAnimScrollY", ShaderPropertyType.Float)
+,new ShaderProperty("_UvAnimRotation", ShaderPropertyType.Float)
+,new ShaderProperty("_MToonVersion", ShaderPropertyType.Float)
+,new ShaderProperty("_DebugMode", ShaderPropertyType.Float)
+,new ShaderProperty("_BlendMode", ShaderPropertyType.Float)
+,new ShaderProperty("_OutlineWidthMode", ShaderPropertyType.Float)
+,new ShaderProperty("_OutlineColorMode", ShaderPropertyType.Float)
+,new ShaderProperty("_CullMode", ShaderPropertyType.Float)
+,new ShaderProperty("_OutlineCullMode", ShaderPropertyType.Float)
+,new ShaderProperty("_SrcBlend", ShaderPropertyType.Float)
+,new ShaderProperty("_DstBlend", ShaderPropertyType.Float)
+,new ShaderProperty("_ZWrite", ShaderPropertyType.Float)
+
+ }
+ }
+ );
+ }
+ }
+ }
+}
diff --git a/Assets/ThirdParty/VRM/VRMShaders/ShaderProperty/Runtime/VRM/VRM_MToon.cs.meta b/Assets/ThirdParty/VRM/VRMShaders/ShaderProperty/Runtime/VRM/VRM_MToon.cs.meta
new file mode 100644
index 00000000..26afcbf6
--- /dev/null
+++ b/Assets/ThirdParty/VRM/VRMShaders/ShaderProperty/Runtime/VRM/VRM_MToon.cs.meta
@@ -0,0 +1,12 @@
+fileFormatVersion: 2
+guid: 4629d794c8969c141a4724e182af082e
+timeCreated: 1533542890
+licenseType: Free
+MonoImporter:
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Assets/ThirdParty/VRM/VRMShaders/ShaderProperty/Runtime/VRM/VRM_UnlitCutout.cs b/Assets/ThirdParty/VRM/VRMShaders/ShaderProperty/Runtime/VRM/VRM_UnlitCutout.cs
new file mode 100644
index 00000000..8695f72f
--- /dev/null
+++ b/Assets/ThirdParty/VRM/VRMShaders/ShaderProperty/Runtime/VRM/VRM_UnlitCutout.cs
@@ -0,0 +1,27 @@
+using System.Collections.Generic;
+
+
+namespace UniGLTF.ShaderPropExporter
+{
+ public static partial class PreShaderPropExporter
+ {
+ [PreExportShader]
+ static KeyValuePair<string, ShaderProps> VRM_UnlitCutout
+ {
+ get
+ {
+ return new KeyValuePair<string, ShaderProps>(
+ "VRM/UnlitCutout",
+ new ShaderProps
+ {
+ Properties = new ShaderProperty[]{
+new ShaderProperty("_MainTex", ShaderPropertyType.TexEnv)
+,new ShaderProperty("_Cutoff", ShaderPropertyType.Range)
+
+ }
+ }
+ );
+ }
+ }
+ }
+}
diff --git a/Assets/ThirdParty/VRM/VRMShaders/ShaderProperty/Runtime/VRM/VRM_UnlitCutout.cs.meta b/Assets/ThirdParty/VRM/VRMShaders/ShaderProperty/Runtime/VRM/VRM_UnlitCutout.cs.meta
new file mode 100644
index 00000000..3f6607d2
--- /dev/null
+++ b/Assets/ThirdParty/VRM/VRMShaders/ShaderProperty/Runtime/VRM/VRM_UnlitCutout.cs.meta
@@ -0,0 +1,12 @@
+fileFormatVersion: 2
+guid: 611b546ea471ad34cb7d94740c63b558
+timeCreated: 1533542890
+licenseType: Free
+MonoImporter:
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Assets/ThirdParty/VRM/VRMShaders/ShaderProperty/Runtime/VRM/VRM_UnlitTexture.cs b/Assets/ThirdParty/VRM/VRMShaders/ShaderProperty/Runtime/VRM/VRM_UnlitTexture.cs
new file mode 100644
index 00000000..6a0ab5b3
--- /dev/null
+++ b/Assets/ThirdParty/VRM/VRMShaders/ShaderProperty/Runtime/VRM/VRM_UnlitTexture.cs
@@ -0,0 +1,26 @@
+using System.Collections.Generic;
+
+
+namespace UniGLTF.ShaderPropExporter
+{
+ public static partial class PreShaderPropExporter
+ {
+ [PreExportShader]
+ static KeyValuePair<string, ShaderProps> VRM_UnlitTexture
+ {
+ get
+ {
+ return new KeyValuePair<string, ShaderProps>(
+ "VRM/UnlitTexture",
+ new ShaderProps
+ {
+ Properties = new ShaderProperty[]{
+new ShaderProperty("_MainTex", ShaderPropertyType.TexEnv)
+
+ }
+ }
+ );
+ }
+ }
+ }
+}
diff --git a/Assets/ThirdParty/VRM/VRMShaders/ShaderProperty/Runtime/VRM/VRM_UnlitTexture.cs.meta b/Assets/ThirdParty/VRM/VRMShaders/ShaderProperty/Runtime/VRM/VRM_UnlitTexture.cs.meta
new file mode 100644
index 00000000..181adad3
--- /dev/null
+++ b/Assets/ThirdParty/VRM/VRMShaders/ShaderProperty/Runtime/VRM/VRM_UnlitTexture.cs.meta
@@ -0,0 +1,12 @@
+fileFormatVersion: 2
+guid: 22a8083880389b3498f421e6a5c340d5
+timeCreated: 1533542890
+licenseType: Free
+MonoImporter:
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Assets/ThirdParty/VRM/VRMShaders/ShaderProperty/Runtime/VRM/VRM_UnlitTransparent.cs b/Assets/ThirdParty/VRM/VRMShaders/ShaderProperty/Runtime/VRM/VRM_UnlitTransparent.cs
new file mode 100644
index 00000000..2c750386
--- /dev/null
+++ b/Assets/ThirdParty/VRM/VRMShaders/ShaderProperty/Runtime/VRM/VRM_UnlitTransparent.cs
@@ -0,0 +1,26 @@
+using System.Collections.Generic;
+
+
+namespace UniGLTF.ShaderPropExporter
+{
+ public static partial class PreShaderPropExporter
+ {
+ [PreExportShader]
+ static KeyValuePair<string, ShaderProps> VRM_UnlitTransparent
+ {
+ get
+ {
+ return new KeyValuePair<string, ShaderProps>(
+ "VRM/UnlitTransparent",
+ new ShaderProps
+ {
+ Properties = new ShaderProperty[]{
+new ShaderProperty("_MainTex", ShaderPropertyType.TexEnv)
+
+ }
+ }
+ );
+ }
+ }
+ }
+}
diff --git a/Assets/ThirdParty/VRM/VRMShaders/ShaderProperty/Runtime/VRM/VRM_UnlitTransparent.cs.meta b/Assets/ThirdParty/VRM/VRMShaders/ShaderProperty/Runtime/VRM/VRM_UnlitTransparent.cs.meta
new file mode 100644
index 00000000..eeaf3b8d
--- /dev/null
+++ b/Assets/ThirdParty/VRM/VRMShaders/ShaderProperty/Runtime/VRM/VRM_UnlitTransparent.cs.meta
@@ -0,0 +1,12 @@
+fileFormatVersion: 2
+guid: 140d6538826e0eb448929d3e4bb2f1cd
+timeCreated: 1533542890
+licenseType: Free
+MonoImporter:
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Assets/ThirdParty/VRM/VRMShaders/ShaderProperty/Runtime/VRM/VRM_UnlitTransparentZWrite.cs b/Assets/ThirdParty/VRM/VRMShaders/ShaderProperty/Runtime/VRM/VRM_UnlitTransparentZWrite.cs
new file mode 100644
index 00000000..8d03c4ec
--- /dev/null
+++ b/Assets/ThirdParty/VRM/VRMShaders/ShaderProperty/Runtime/VRM/VRM_UnlitTransparentZWrite.cs
@@ -0,0 +1,26 @@
+using System.Collections.Generic;
+
+
+namespace UniGLTF.ShaderPropExporter
+{
+ public static partial class PreShaderPropExporter
+ {
+ [PreExportShader]
+ static KeyValuePair<string, ShaderProps> VRM_UnlitTransparentZWrite
+ {
+ get
+ {
+ return new KeyValuePair<string, ShaderProps>(
+ "VRM/UnlitTransparentZWrite",
+ new ShaderProps
+ {
+ Properties = new ShaderProperty[]{
+new ShaderProperty("_MainTex", ShaderPropertyType.TexEnv)
+
+ }
+ }
+ );
+ }
+ }
+ }
+}
diff --git a/Assets/ThirdParty/VRM/VRMShaders/ShaderProperty/Runtime/VRM/VRM_UnlitTransparentZWrite.cs.meta b/Assets/ThirdParty/VRM/VRMShaders/ShaderProperty/Runtime/VRM/VRM_UnlitTransparentZWrite.cs.meta
new file mode 100644
index 00000000..6efeb43e
--- /dev/null
+++ b/Assets/ThirdParty/VRM/VRMShaders/ShaderProperty/Runtime/VRM/VRM_UnlitTransparentZWrite.cs.meta
@@ -0,0 +1,12 @@
+fileFormatVersion: 2
+guid: 165ec79b7aac1564a850fb3d3d19396e
+timeCreated: 1533542890
+licenseType: Free
+MonoImporter:
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant: