summaryrefslogtreecommitdiff
path: root/Assets/ThirdParty/VRM/VRMShaders/ShaderProperty/Runtime/GLTF/Standard.cs
diff options
context:
space:
mode:
authorchai <chaifix@163.com>2020-10-11 20:00:58 +0800
committerchai <chaifix@163.com>2020-10-11 20:00:58 +0800
commit8b384dffa0d9c63c7a657c6e567c2ddefbf046cd (patch)
tree3f4d669b73b6622aa49627c4ccb3c78d51a82bde /Assets/ThirdParty/VRM/VRMShaders/ShaderProperty/Runtime/GLTF/Standard.cs
parentcd3aee8d640f6abcc82802ca7abbcdfa031c20d3 (diff)
+Saionji show off scene
Diffstat (limited to 'Assets/ThirdParty/VRM/VRMShaders/ShaderProperty/Runtime/GLTF/Standard.cs')
-rw-r--r--Assets/ThirdParty/VRM/VRMShaders/ShaderProperty/Runtime/GLTF/Standard.cs52
1 files changed, 52 insertions, 0 deletions
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)
+
+ }
+ }
+ );
+ }
+ }
+ }
+}