summaryrefslogtreecommitdiff
path: root/Assets/SampleUI/Materials
diff options
context:
space:
mode:
authornirav <nirav@airmail.cc>2020-12-12 07:18:36 +0000
committernirav <nirav@airmail.cc>2020-12-12 07:18:36 +0000
commit115f77bda0246a00f6e17469685c67746bdbd29d (patch)
tree4bbea1e59109bb1d1fddc71736f89289bab03073 /Assets/SampleUI/Materials
download01-115f77bda0246a00f6e17469685c67746bdbd29d.tar.gz
01-115f77bda0246a00f6e17469685c67746bdbd29d.zip
Initial commitHEADmaster
Diffstat (limited to 'Assets/SampleUI/Materials')
-rwxr-xr-xAssets/SampleUI/Materials/Slider Background.mat85
-rwxr-xr-xAssets/SampleUI/Materials/Slider Background.mat.meta4
-rwxr-xr-xAssets/SampleUI/Materials/Slider Fill.matbin0 -> 4604 bytes
-rwxr-xr-xAssets/SampleUI/Materials/Slider Fill.mat.meta4
-rwxr-xr-xAssets/SampleUI/Materials/Slider Knob.mat85
-rwxr-xr-xAssets/SampleUI/Materials/Slider Knob.mat.meta4
-rwxr-xr-xAssets/SampleUI/Materials/UI Opaque.mat52
-rwxr-xr-xAssets/SampleUI/Materials/UI Opaque.mat.meta4
-rwxr-xr-xAssets/SampleUI/Materials/UI-Default-No-Alpha.shader91
-rwxr-xr-xAssets/SampleUI/Materials/UI-Default-No-Alpha.shader.meta5
-rwxr-xr-xAssets/SampleUI/Materials/Window.mat99
-rwxr-xr-xAssets/SampleUI/Materials/Window.mat.meta4
12 files changed, 437 insertions, 0 deletions
diff --git a/Assets/SampleUI/Materials/Slider Background.mat b/Assets/SampleUI/Materials/Slider Background.mat
new file mode 100755
index 0000000..ac3ee68
--- /dev/null
+++ b/Assets/SampleUI/Materials/Slider Background.mat
@@ -0,0 +1,85 @@
+%YAML 1.1
+%TAG !u! tag:unity3d.com,2011:
+--- !u!21 &2100000
+Material:
+ serializedVersion: 3
+ m_ObjectHideFlags: 0
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 0}
+ m_Name: Slider Background
+ m_Shader: {fileID: 10766, guid: 0000000000000000f000000000000000, type: 0}
+ m_ShaderKeywords: []
+ m_CustomRenderQueue: -1
+ m_SavedProperties:
+ serializedVersion: 2
+ m_TexEnvs:
+ data:
+ first:
+ name: _MainTex
+ second:
+ m_Texture: {fileID: 0}
+ m_Scale: {x: 1, y: 1}
+ m_Offset: {x: 0, y: 0}
+ data:
+ first:
+ name: _DetailTex
+ second:
+ m_Texture: {fileID: 0}
+ m_Scale: {x: 1, y: 1}
+ m_Offset: {x: -1855.17371, y: 0}
+ data:
+ first:
+ name: _MainBump
+ second:
+ m_Texture: {fileID: 2800000, guid: 50ab5eea3a58b4ddeb99f0388a1d77c5, type: 3}
+ m_Scale: {x: 1, y: 1}
+ m_Offset: {x: 0, y: 0}
+ data:
+ first:
+ name: _DetailBump
+ second:
+ m_Texture: {fileID: 0}
+ m_Scale: {x: 1, y: 1}
+ m_Offset: {x: 0, y: 0}
+ m_Floats:
+ data:
+ first:
+ name: _Shininess
+ second: .200000003
+ data:
+ first:
+ name: _Stencil
+ second: 0
+ data:
+ first:
+ name: _StencilReadMask
+ second: 255
+ data:
+ first:
+ name: _StencilWriteMask
+ second: 255
+ data:
+ first:
+ name: _StencilComp
+ second: 8
+ data:
+ first:
+ name: _StencilOp
+ second: 0
+ data:
+ first:
+ name: _ColorMask
+ second: 15
+ data:
+ first:
+ name: _Strength
+ second: 0
+ m_Colors:
+ data:
+ first:
+ name: _Color
+ second: {r: 1, g: 1, b: 1, a: 1}
+ data:
+ first:
+ name: _Specular
+ second: {r: 1, g: 1, b: 1, a: .247058824}
diff --git a/Assets/SampleUI/Materials/Slider Background.mat.meta b/Assets/SampleUI/Materials/Slider Background.mat.meta
new file mode 100755
index 0000000..a2595e7
--- /dev/null
+++ b/Assets/SampleUI/Materials/Slider Background.mat.meta
@@ -0,0 +1,4 @@
+fileFormatVersion: 2
+guid: 27d87a15bf86c4159800770927c9aa2f
+NativeFormatImporter:
+ userData:
diff --git a/Assets/SampleUI/Materials/Slider Fill.mat b/Assets/SampleUI/Materials/Slider Fill.mat
new file mode 100755
index 0000000..785894f
--- /dev/null
+++ b/Assets/SampleUI/Materials/Slider Fill.mat
Binary files differ
diff --git a/Assets/SampleUI/Materials/Slider Fill.mat.meta b/Assets/SampleUI/Materials/Slider Fill.mat.meta
new file mode 100755
index 0000000..c2dfa92
--- /dev/null
+++ b/Assets/SampleUI/Materials/Slider Fill.mat.meta
@@ -0,0 +1,4 @@
+fileFormatVersion: 2
+guid: 74069a396ef888d4ea96c33784281ac5
+NativeFormatImporter:
+ userData:
diff --git a/Assets/SampleUI/Materials/Slider Knob.mat b/Assets/SampleUI/Materials/Slider Knob.mat
new file mode 100755
index 0000000..ec5e879
--- /dev/null
+++ b/Assets/SampleUI/Materials/Slider Knob.mat
@@ -0,0 +1,85 @@
+%YAML 1.1
+%TAG !u! tag:unity3d.com,2011:
+--- !u!21 &2100000
+Material:
+ serializedVersion: 3
+ m_ObjectHideFlags: 0
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 0}
+ m_Name: Slider Knob
+ m_Shader: {fileID: 10766, guid: 0000000000000000f000000000000000, type: 0}
+ m_ShaderKeywords: []
+ m_CustomRenderQueue: -1
+ m_SavedProperties:
+ serializedVersion: 2
+ m_TexEnvs:
+ data:
+ first:
+ name: _MainTex
+ second:
+ m_Texture: {fileID: 0}
+ m_Scale: {x: 1, y: 1}
+ m_Offset: {x: 0, y: 0}
+ data:
+ first:
+ name: _DetailTex
+ second:
+ m_Texture: {fileID: 0}
+ m_Scale: {x: 1, y: 1}
+ m_Offset: {x: -1721.64905, y: 0}
+ data:
+ first:
+ name: _MainBump
+ second:
+ m_Texture: {fileID: 2800000, guid: 38a596ccbd20144369ac06fcbc2ce118, type: 3}
+ m_Scale: {x: 1, y: 1}
+ m_Offset: {x: 0, y: 0}
+ data:
+ first:
+ name: _DetailBump
+ second:
+ m_Texture: {fileID: 0}
+ m_Scale: {x: 1, y: 1}
+ m_Offset: {x: 0, y: 0}
+ m_Floats:
+ data:
+ first:
+ name: _Shininess
+ second: .200000003
+ data:
+ first:
+ name: _Stencil
+ second: 0
+ data:
+ first:
+ name: _StencilReadMask
+ second: 255
+ data:
+ first:
+ name: _StencilWriteMask
+ second: 255
+ data:
+ first:
+ name: _StencilComp
+ second: 8
+ data:
+ first:
+ name: _StencilOp
+ second: 0
+ data:
+ first:
+ name: _ColorMask
+ second: 15
+ data:
+ first:
+ name: _Strength
+ second: 0
+ m_Colors:
+ data:
+ first:
+ name: _Color
+ second: {r: 1, g: 1, b: 1, a: 1}
+ data:
+ first:
+ name: _Specular
+ second: {r: 1, g: 1, b: 1, a: .247058824}
diff --git a/Assets/SampleUI/Materials/Slider Knob.mat.meta b/Assets/SampleUI/Materials/Slider Knob.mat.meta
new file mode 100755
index 0000000..329536f
--- /dev/null
+++ b/Assets/SampleUI/Materials/Slider Knob.mat.meta
@@ -0,0 +1,4 @@
+fileFormatVersion: 2
+guid: 2ac0972e5f0b5439998e30db4f1ab9c3
+NativeFormatImporter:
+ userData:
diff --git a/Assets/SampleUI/Materials/UI Opaque.mat b/Assets/SampleUI/Materials/UI Opaque.mat
new file mode 100755
index 0000000..98f40ff
--- /dev/null
+++ b/Assets/SampleUI/Materials/UI Opaque.mat
@@ -0,0 +1,52 @@
+%YAML 1.1
+%TAG !u! tag:unity3d.com,2011:
+--- !u!21 &2100000
+Material:
+ serializedVersion: 3
+ m_ObjectHideFlags: 0
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 0}
+ m_Name: UI Opaque
+ m_Shader: {fileID: 4800000, guid: 35868d7a76dde4354b3ea20c36f8fdf9, type: 3}
+ m_ShaderKeywords: []
+ m_CustomRenderQueue: -1
+ m_SavedProperties:
+ serializedVersion: 2
+ m_TexEnvs:
+ data:
+ first:
+ name: _MainTex
+ second:
+ m_Texture: {fileID: 0}
+ m_Scale: {x: 1, y: 1}
+ m_Offset: {x: 0, y: 0}
+ m_Floats:
+ data:
+ first:
+ name: _Stencil
+ second: 0
+ data:
+ first:
+ name: _StencilReadMask
+ second: 255
+ data:
+ first:
+ name: _StencilWriteMask
+ second: 255
+ data:
+ first:
+ name: _StencilComp
+ second: 8
+ data:
+ first:
+ name: _StencilOp
+ second: 0
+ data:
+ first:
+ name: _ColorMask
+ second: 15
+ m_Colors:
+ data:
+ first:
+ name: _Color
+ second: {r: 1, g: 1, b: 1, a: 1}
diff --git a/Assets/SampleUI/Materials/UI Opaque.mat.meta b/Assets/SampleUI/Materials/UI Opaque.mat.meta
new file mode 100755
index 0000000..2639f34
--- /dev/null
+++ b/Assets/SampleUI/Materials/UI Opaque.mat.meta
@@ -0,0 +1,4 @@
+fileFormatVersion: 2
+guid: 8934f7763af9e41ee8845ae14c5473f1
+NativeFormatImporter:
+ userData:
diff --git a/Assets/SampleUI/Materials/UI-Default-No-Alpha.shader b/Assets/SampleUI/Materials/UI-Default-No-Alpha.shader
new file mode 100755
index 0000000..4c320c6
--- /dev/null
+++ b/Assets/SampleUI/Materials/UI-Default-No-Alpha.shader
@@ -0,0 +1,91 @@
+Shader "UI/Default No-Alpha"
+{
+ Properties
+ {
+ [PerRendererData] _MainTex ("Sprite Texture", 2D) = "white" {}
+ _Color ("Tint", Color) = (1,1,1,1)
+
+ _StencilComp ("Stencil Comparison", Float) = 8
+ _Stencil ("Stencil ID", Float) = 0
+ _StencilOp ("Stencil Operation", Float) = 0
+ _StencilWriteMask ("Stencil Write Mask", Float) = 255
+ _StencilReadMask ("Stencil Read Mask", Float) = 255
+
+ _ColorMask ("Color Mask", Float) = 15
+ }
+
+ SubShader
+ {
+ Tags
+ {
+ "Queue"="Transparent"
+ "IgnoreProjector"="True"
+ "RenderType"="Transparent"
+ "PreviewType"="Plane"
+ "CanUseSpriteAtlas"="True"
+ }
+
+ Stencil
+ {
+ Ref [_Stencil]
+ Comp [_StencilComp]
+ Pass [_StencilOp]
+ ReadMask [_StencilReadMask]
+ WriteMask [_StencilWriteMask]
+ }
+
+ Cull Off
+ Lighting Off
+ ZWrite Off
+ ZTest [unity_GUIZTestMode]
+ Fog { Mode Off }
+ Blend One Zero
+ ColorMask [_ColorMask]
+
+ Pass
+ {
+ CGPROGRAM
+ #pragma vertex vert
+ #pragma fragment frag
+ #include "UnityCG.cginc"
+
+ struct appdata_t
+ {
+ float4 vertex : POSITION;
+ float4 color : COLOR;
+ float2 texcoord : TEXCOORD0;
+ };
+
+ struct v2f
+ {
+ float4 vertex : SV_POSITION;
+ fixed4 color : COLOR;
+ half2 texcoord : TEXCOORD0;
+ };
+
+ fixed4 _Color;
+
+ v2f vert(appdata_t IN)
+ {
+ v2f OUT;
+ OUT.vertex = mul(UNITY_MATRIX_MVP, IN.vertex);
+ OUT.texcoord = IN.texcoord;
+#ifdef UNITY_HALF_TEXEL_OFFSET
+ OUT.vertex.xy -= (_ScreenParams.zw-1.0);
+#endif
+ OUT.color = IN.color * _Color;
+ return OUT;
+ }
+
+ sampler2D _MainTex;
+
+ fixed4 frag(v2f IN) : SV_Target
+ {
+ half4 color = tex2D(_MainTex, IN.texcoord) * IN.color;
+ clip (color.a - 0.01);
+ return color;
+ }
+ ENDCG
+ }
+ }
+}
diff --git a/Assets/SampleUI/Materials/UI-Default-No-Alpha.shader.meta b/Assets/SampleUI/Materials/UI-Default-No-Alpha.shader.meta
new file mode 100755
index 0000000..b3e0d7d
--- /dev/null
+++ b/Assets/SampleUI/Materials/UI-Default-No-Alpha.shader.meta
@@ -0,0 +1,5 @@
+fileFormatVersion: 2
+guid: 35868d7a76dde4354b3ea20c36f8fdf9
+ShaderImporter:
+ defaultTextures: []
+ userData:
diff --git a/Assets/SampleUI/Materials/Window.mat b/Assets/SampleUI/Materials/Window.mat
new file mode 100755
index 0000000..fa54ea2
--- /dev/null
+++ b/Assets/SampleUI/Materials/Window.mat
@@ -0,0 +1,99 @@
+%YAML 1.1
+%TAG !u! tag:unity3d.com,2011:
+--- !u!21 &2100000
+Material:
+ serializedVersion: 3
+ m_ObjectHideFlags: 0
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 0}
+ m_Name: Window
+ m_Shader: {fileID: 10766, guid: 0000000000000000f000000000000000, type: 0}
+ m_ShaderKeywords: []
+ m_CustomRenderQueue: -1
+ m_SavedProperties:
+ serializedVersion: 2
+ m_TexEnvs:
+ data:
+ first:
+ name: _MainTex
+ second:
+ m_Texture: {fileID: 0}
+ m_Scale: {x: 1, y: 1}
+ m_Offset: {x: 0, y: 0}
+ data:
+ first:
+ name: _BumpMap
+ second:
+ m_Texture: {fileID: 0}
+ m_Scale: {x: 1, y: 1}
+ m_Offset: {x: 0, y: 0}
+ data:
+ first:
+ name: _Detail
+ second:
+ m_Texture: {fileID: 0}
+ m_Scale: {x: 1, y: 1}
+ m_Offset: {x: 0, y: 0}
+ data:
+ first:
+ name: _DetailTex
+ second:
+ m_Texture: {fileID: 2800000, guid: 5d5b9ba23399f4d4f8de62cb70b9440f, type: 3}
+ m_Scale: {x: 1, y: 1}
+ m_Offset: {x: 0, y: 0}
+ data:
+ first:
+ name: _MainBump
+ second:
+ m_Texture: {fileID: 2800000, guid: 91207f32a007d429180caa8fce010afd, type: 3}
+ m_Scale: {x: 1, y: 1}
+ m_Offset: {x: 0, y: 0}
+ data:
+ first:
+ name: _DetailBump
+ second:
+ m_Texture: {fileID: 2800000, guid: 022a5dbc82be311428eec45125477996, type: 3}
+ m_Scale: {x: 1, y: 1}
+ m_Offset: {x: 0, y: 0}
+ m_Floats:
+ data:
+ first:
+ name: _Shininess
+ second: .00999999978
+ data:
+ first:
+ name: _Stencil
+ second: 0
+ data:
+ first:
+ name: _StencilReadMask
+ second: 255
+ data:
+ first:
+ name: _StencilWriteMask
+ second: 255
+ data:
+ first:
+ name: _StencilComp
+ second: 8
+ data:
+ first:
+ name: _StencilOp
+ second: 0
+ data:
+ first:
+ name: _ColorMask
+ second: 15
+ data:
+ first:
+ name: _Strength
+ second: 0
+ m_Colors:
+ data:
+ first:
+ name: _Color
+ second: {r: 1, g: 1, b: 1, a: 1}
+ data:
+ first:
+ name: _Specular
+ second: {r: 1, g: 1, b: 1, a: .125490203}
diff --git a/Assets/SampleUI/Materials/Window.mat.meta b/Assets/SampleUI/Materials/Window.mat.meta
new file mode 100755
index 0000000..bd2aa92
--- /dev/null
+++ b/Assets/SampleUI/Materials/Window.mat.meta
@@ -0,0 +1,4 @@
+fileFormatVersion: 2
+guid: 3cc66b78ab25c204f9b4d415d02e3abe
+NativeFormatImporter:
+ userData: