Skip to content

Commit 3dc9f57

Browse files
vncastanheiraEpiplon
andauthored
Fix corrupted materials (#370)
Co-authored-by: Epiplon <epiplon@epiplon.com> Fixes #369
1 parent e07c919 commit 3dc9f57

File tree

3 files changed

+408
-0
lines changed

3 files changed

+408
-0
lines changed
Lines changed: 139 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,139 @@
1+
%YAML 1.1
2+
%TAG !u! tag:unity3d.com,2011:
3+
--- !u!21 &2100000
4+
Material:
5+
serializedVersion: 6
6+
m_ObjectHideFlags: 0
7+
m_CorrespondingSourceObject: {fileID: 0}
8+
m_PrefabInstance: {fileID: 0}
9+
m_PrefabAsset: {fileID: 0}
10+
m_Name: Floor
11+
m_Shader: {fileID: 4800000, guid: 933532a4fcc9baf4fa0491de14d08ed7, type: 3}
12+
m_ShaderKeywords:
13+
m_LightmapFlags: 4
14+
m_EnableInstancingVariants: 0
15+
m_DoubleSidedGI: 0
16+
m_CustomRenderQueue: 2000
17+
stringTagMap:
18+
RenderType: Opaque
19+
disabledShaderPasses: []
20+
m_SavedProperties:
21+
serializedVersion: 3
22+
m_TexEnvs:
23+
- _BaseMap:
24+
m_Texture: {fileID: 0}
25+
m_Scale: {x: 1, y: 1}
26+
m_Offset: {x: 0, y: 0}
27+
- _BumpMap:
28+
m_Texture: {fileID: 0}
29+
m_Scale: {x: 1, y: 1}
30+
m_Offset: {x: 0, y: 0}
31+
- _Cube:
32+
m_Texture: {fileID: 0}
33+
m_Scale: {x: 1, y: 1}
34+
m_Offset: {x: 0, y: 0}
35+
- _DetailAlbedoMap:
36+
m_Texture: {fileID: 0}
37+
m_Scale: {x: 1, y: 1}
38+
m_Offset: {x: 0, y: 0}
39+
- _DetailMask:
40+
m_Texture: {fileID: 0}
41+
m_Scale: {x: 1, y: 1}
42+
m_Offset: {x: 0, y: 0}
43+
- _DetailNormalMap:
44+
m_Texture: {fileID: 0}
45+
m_Scale: {x: 1, y: 1}
46+
m_Offset: {x: 0, y: 0}
47+
- _EmissionMap:
48+
m_Texture: {fileID: 0}
49+
m_Scale: {x: 1, y: 1}
50+
m_Offset: {x: 0, y: 0}
51+
- _MainTex:
52+
m_Texture: {fileID: 0}
53+
m_Scale: {x: 1, y: 1}
54+
m_Offset: {x: 0, y: 0}
55+
- _MetallicGlossMap:
56+
m_Texture: {fileID: 0}
57+
m_Scale: {x: 1, y: 1}
58+
m_Offset: {x: 0, y: 0}
59+
- _MetallicSpecGlossMap:
60+
m_Texture: {fileID: 0}
61+
m_Scale: {x: 1, y: 1}
62+
m_Offset: {x: 0, y: 0}
63+
- _OcclusionMap:
64+
m_Texture: {fileID: 0}
65+
m_Scale: {x: 1, y: 1}
66+
m_Offset: {x: 0, y: 0}
67+
- _ParallaxMap:
68+
m_Texture: {fileID: 0}
69+
m_Scale: {x: 1, y: 1}
70+
m_Offset: {x: 0, y: 0}
71+
- _SpecGlossMap:
72+
m_Texture: {fileID: 0}
73+
m_Scale: {x: 1, y: 1}
74+
m_Offset: {x: 0, y: 0}
75+
- unity_Lightmaps:
76+
m_Texture: {fileID: 0}
77+
m_Scale: {x: 1, y: 1}
78+
m_Offset: {x: 0, y: 0}
79+
- unity_LightmapsInd:
80+
m_Texture: {fileID: 0}
81+
m_Scale: {x: 1, y: 1}
82+
m_Offset: {x: 0, y: 0}
83+
- unity_ShadowMasks:
84+
m_Texture: {fileID: 0}
85+
m_Scale: {x: 1, y: 1}
86+
m_Offset: {x: 0, y: 0}
87+
m_Ints: []
88+
m_Floats:
89+
- _AlphaClip: 0
90+
- _Blend: 0
91+
- _BumpScale: 1
92+
- _ClearCoatMask: 0
93+
- _ClearCoatSmoothness: 0
94+
- _Cull: 2
95+
- _Cutoff: 0.5
96+
- _DetailAlbedoMapScale: 1
97+
- _DetailNormalMapScale: 1
98+
- _DstBlend: 0
99+
- _EnvironmentReflections: 1
100+
- _GlossMapScale: 1
101+
- _Glossiness: 0.5
102+
- _GlossinessSource: 0
103+
- _GlossyReflections: 1
104+
- _Metallic: 0
105+
- _Mode: 0
106+
- _OcclusionStrength: 1
107+
- _Parallax: 0.02
108+
- _QueueOffset: 0
109+
- _ReceiveShadows: 1
110+
- _ReflectionSource: 0
111+
- _Shininess: 1
112+
- _Smoothness: 0.5
113+
- _SmoothnessTextureChannel: 0
114+
- _SpecSource: 0
115+
- _SpecularHighlights: 1
116+
- _SrcBlend: 1
117+
- _Surface: 0
118+
- _UVSec: 0
119+
- _WorkflowMode: 1
120+
- _ZWrite: 1
121+
m_Colors:
122+
- _BaseColor: {r: 0.5, g: 0.5, b: 0.5, a: 1}
123+
- _Color: {r: 0.5, g: 0.5, b: 0.5, a: 1}
124+
- _EmissionColor: {r: 0, g: 0, b: 0, a: 1}
125+
- _SpecColor: {r: 1, g: 1, b: 1, a: 1}
126+
m_BuildTextureStacks: []
127+
--- !u!114 &8880595264263593638
128+
MonoBehaviour:
129+
m_ObjectHideFlags: 11
130+
m_CorrespondingSourceObject: {fileID: 0}
131+
m_PrefabInstance: {fileID: 0}
132+
m_PrefabAsset: {fileID: 0}
133+
m_GameObject: {fileID: 0}
134+
m_Enabled: 1
135+
m_EditorHideFlags: 0
136+
m_Script: {fileID: 11500000, guid: d0353a89b1f911e48b9e16bdc9f2e058, type: 3}
137+
m_Name:
138+
m_EditorClassIdentifier:
139+
version: 5
Lines changed: 130 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,130 @@
1+
%YAML 1.1
2+
%TAG !u! tag:unity3d.com,2011:
3+
--- !u!114 &-5542619755577104022
4+
MonoBehaviour:
5+
m_ObjectHideFlags: 11
6+
m_CorrespondingSourceObject: {fileID: 0}
7+
m_PrefabInstance: {fileID: 0}
8+
m_PrefabAsset: {fileID: 0}
9+
m_GameObject: {fileID: 0}
10+
m_Enabled: 1
11+
m_EditorHideFlags: 0
12+
m_Script: {fileID: 11500000, guid: d0353a89b1f911e48b9e16bdc9f2e058, type: 3}
13+
m_Name:
14+
m_EditorClassIdentifier:
15+
version: 5
16+
--- !u!21 &2100000
17+
Material:
18+
serializedVersion: 6
19+
m_ObjectHideFlags: 0
20+
m_CorrespondingSourceObject: {fileID: 0}
21+
m_PrefabInstance: {fileID: 0}
22+
m_PrefabAsset: {fileID: 0}
23+
m_Name: Wall
24+
m_Shader: {fileID: 4800000, guid: 933532a4fcc9baf4fa0491de14d08ed7, type: 3}
25+
m_ShaderKeywords:
26+
m_LightmapFlags: 4
27+
m_EnableInstancingVariants: 0
28+
m_DoubleSidedGI: 0
29+
m_CustomRenderQueue: 2000
30+
stringTagMap:
31+
RenderType: Opaque
32+
disabledShaderPasses: []
33+
m_SavedProperties:
34+
serializedVersion: 3
35+
m_TexEnvs:
36+
- _BaseMap:
37+
m_Texture: {fileID: 0}
38+
m_Scale: {x: 1, y: 1}
39+
m_Offset: {x: 0, y: 0}
40+
- _BumpMap:
41+
m_Texture: {fileID: 0}
42+
m_Scale: {x: 1, y: 1}
43+
m_Offset: {x: 0, y: 0}
44+
- _ClearCoatMap:
45+
m_Texture: {fileID: 0}
46+
m_Scale: {x: 1, y: 1}
47+
m_Offset: {x: 0, y: 0}
48+
- _Cube:
49+
m_Texture: {fileID: 0}
50+
m_Scale: {x: 1, y: 1}
51+
m_Offset: {x: 0, y: 0}
52+
- _DetailAlbedoMap:
53+
m_Texture: {fileID: 0}
54+
m_Scale: {x: 1, y: 1}
55+
m_Offset: {x: 0, y: 0}
56+
- _DetailMask:
57+
m_Texture: {fileID: 0}
58+
m_Scale: {x: 1, y: 1}
59+
m_Offset: {x: 0, y: 0}
60+
- _DetailNormalMap:
61+
m_Texture: {fileID: 0}
62+
m_Scale: {x: 1, y: 1}
63+
m_Offset: {x: 0, y: 0}
64+
- _EmissionMap:
65+
m_Texture: {fileID: 0}
66+
m_Scale: {x: 1, y: 1}
67+
m_Offset: {x: 0, y: 0}
68+
- _MainTex:
69+
m_Texture: {fileID: 0}
70+
m_Scale: {x: 1, y: 1}
71+
m_Offset: {x: 0, y: 0}
72+
- _MetallicGlossMap:
73+
m_Texture: {fileID: 0}
74+
m_Scale: {x: 1, y: 1}
75+
m_Offset: {x: 0, y: 0}
76+
- _MetallicSpecGlossMap:
77+
m_Texture: {fileID: 0}
78+
m_Scale: {x: 1, y: 1}
79+
m_Offset: {x: 0, y: 0}
80+
- _OcclusionMap:
81+
m_Texture: {fileID: 0}
82+
m_Scale: {x: 1, y: 1}
83+
m_Offset: {x: 0, y: 0}
84+
- _ParallaxMap:
85+
m_Texture: {fileID: 0}
86+
m_Scale: {x: 1, y: 1}
87+
m_Offset: {x: 0, y: 0}
88+
- _SpecGlossMap:
89+
m_Texture: {fileID: 0}
90+
m_Scale: {x: 1, y: 1}
91+
m_Offset: {x: 0, y: 0}
92+
m_Ints: []
93+
m_Floats:
94+
- _AlphaClip: 0
95+
- _Blend: 0
96+
- _BumpScale: 1
97+
- _ClearCoat: 0
98+
- _ClearCoatMask: 0
99+
- _Cull: 2
100+
- _Cutoff: 0.5
101+
- _DetailNormalMapScale: 1
102+
- _DstBlend: 0
103+
- _EnvironmentReflections: 1
104+
- _GlossMapScale: 1
105+
- _Glossiness: 0.5
106+
- _GlossinessSource: 0
107+
- _GlossyReflections: 1
108+
- _Metallic: 0
109+
- _Mode: 0
110+
- _OcclusionStrength: 1
111+
- _Parallax: 0.02
112+
- _QueueOffset: 0
113+
- _ReceiveShadows: 1
114+
- _ReflectionSource: 0
115+
- _Shininess: 1
116+
- _Smoothness: 0.5
117+
- _SmoothnessTextureChannel: 0
118+
- _SpecSource: 0
119+
- _SpecularHighlights: 1
120+
- _SrcBlend: 1
121+
- _Surface: 0
122+
- _UVSec: 0
123+
- _WorkflowMode: 1
124+
- _ZWrite: 1
125+
m_Colors:
126+
- _BaseColor: {r: 0.5, g: 0.5, b: 0.5, a: 1}
127+
- _Color: {r: 0.5, g: 0.5, b: 0.5, a: 1}
128+
- _EmissionColor: {r: 0, g: 0, b: 0, a: 1}
129+
- _SpecColor: {r: 1, g: 1, b: 1, a: 1}
130+
m_BuildTextureStacks: []

0 commit comments

Comments
 (0)