summaryrefslogtreecommitdiff
path: root/Assets/ThirdParty/VRM/VRMShaders/ShaderProperty/Runtime/GLTF
diff options
context:
space:
mode:
Diffstat (limited to 'Assets/ThirdParty/VRM/VRMShaders/ShaderProperty/Runtime/GLTF')
-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
14 files changed, 294 insertions, 0 deletions
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: