Skip to content

Commit 4f442df

Browse files
Merge pull request #28 from xiaopeng12138/unity-2021-rework
Unity 2021 rework
2 parents 4716284 + 17a49ad commit 4f442df

File tree

211 files changed

+40818
-9318
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

211 files changed

+40818
-9318
lines changed

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -483,4 +483,4 @@ FodyWeavers.xsd
483483
# Additional files built by Visual Studio
484484

485485
# End of https://www.toptal.com/developers/gitignore/api/unity,visualstudio,visualstudiocode
486-
Settings.json
486+
config.json
Lines changed: 15 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -6,27 +6,27 @@ LightingSettings:
66
m_CorrespondingSourceObject: {fileID: 0}
77
m_PrefabInstance: {fileID: 0}
88
m_PrefabAsset: {fileID: 0}
9-
m_Name: Default Light
10-
serializedVersion: 3
11-
m_GIWorkflowMode: 0
9+
m_Name: DefaultLighting
10+
serializedVersion: 4
11+
m_GIWorkflowMode: 1
1212
m_EnableBakedLightmaps: 1
1313
m_EnableRealtimeLightmaps: 0
1414
m_RealtimeEnvironmentLighting: 1
1515
m_BounceScale: 1
1616
m_AlbedoBoost: 1
1717
m_IndirectOutputScale: 1
18-
m_UsingShadowmask: 1
18+
m_UsingShadowmask: 0
1919
m_BakeBackend: 2
2020
m_LightmapMaxSize: 1024
21-
m_BakeResolution: 40
21+
m_BakeResolution: 140
2222
m_Padding: 2
23-
m_TextureCompression: 1
23+
m_LightmapCompression: 2
2424
m_AO: 0
2525
m_AOMaxDistance: 1
2626
m_CompAOExponent: 1
2727
m_CompAOExponentDirect: 0
2828
m_ExtractAO: 0
29-
m_MixedBakeMode: 2
29+
m_MixedBakeMode: 1
3030
m_LightmapsBakeMode: 1
3131
m_FilterMode: 1
3232
m_LightmapParameters: {fileID: 15204, guid: 0000000000000000f000000000000000, type: 0}
@@ -41,23 +41,24 @@ LightingSettings:
4141
m_PVRCulling: 1
4242
m_PVRSampling: 1
4343
m_PVRDirectSampleCount: 64
44-
m_PVRSampleCount: 512
45-
m_PVREnvironmentSampleCount: 256
44+
m_PVRSampleCount: 128
45+
m_PVREnvironmentSampleCount: 8
4646
m_PVREnvironmentReferencePointCount: 2048
4747
m_LightProbeSampleCountMultiplier: 4
48-
m_PVRBounces: 2
48+
m_PVRBounces: 5
4949
m_PVRMinBounces: 1
50-
m_PVREnvironmentMIS: 1
51-
m_PVRFilteringMode: 1
50+
m_PVREnvironmentMIS: 0
51+
m_PVRFilteringMode: 2
5252
m_PVRDenoiserTypeDirect: 1
5353
m_PVRDenoiserTypeIndirect: 1
5454
m_PVRDenoiserTypeAO: 1
5555
m_PVRFilterTypeDirect: 0
5656
m_PVRFilterTypeIndirect: 0
5757
m_PVRFilterTypeAO: 0
58-
m_PVRFilteringGaussRadiusDirect: 1
58+
m_PVRFilteringGaussRadiusDirect: 5
5959
m_PVRFilteringGaussRadiusIndirect: 5
6060
m_PVRFilteringGaussRadiusAO: 2
61-
m_PVRFilteringAtrousPositionSigmaDirect: 0.5
61+
m_PVRFilteringAtrousPositionSigmaDirect: 2
6262
m_PVRFilteringAtrousPositionSigmaIndirect: 2
6363
m_PVRFilteringAtrousPositionSigmaAO: 1
64+
m_PVRTiledBaking: 0
Lines changed: 21 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,33 @@
11
%YAML 1.1
22
%TAG !u! tag:unity3d.com,2011:
3+
--- !u!114 &-6727560341879521946
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
316
--- !u!21 &2100000
417
Material:
5-
serializedVersion: 6
18+
serializedVersion: 8
619
m_ObjectHideFlags: 0
720
m_CorrespondingSourceObject: {fileID: 0}
821
m_PrefabInstance: {fileID: 0}
922
m_PrefabAsset: {fileID: 0}
1023
m_Name: Body Base
1124
m_Shader: {fileID: 4800000, guid: 933532a4fcc9baf4fa0491de14d08ed7, type: 3}
12-
m_ShaderKeywords:
25+
m_ValidKeywords: []
26+
m_InvalidKeywords: []
1327
m_LightmapFlags: 4
1428
m_EnableInstancingVariants: 0
1529
m_DoubleSidedGI: 0
16-
m_CustomRenderQueue: 2000
30+
m_CustomRenderQueue: -1
1731
stringTagMap:
1832
RenderType: Opaque
1933
disabledShaderPasses: []
@@ -76,6 +90,7 @@ Material:
7690
m_Texture: {fileID: 0}
7791
m_Scale: {x: 1, y: 1}
7892
m_Offset: {x: 0, y: 0}
93+
m_Ints: []
7994
m_Floats:
8095
- _AlphaClip: 0
8196
- _Blend: 0
@@ -97,7 +112,7 @@ Material:
97112
- _Parallax: 0.02
98113
- _QueueOffset: 0
99114
- _ReceiveShadows: 1
100-
- _Smoothness: 0
115+
- _Smoothness: 0.5
101116
- _SmoothnessTextureChannel: 0
102117
- _SpecularHighlights: 1
103118
- _SrcBlend: 1
@@ -106,21 +121,8 @@ Material:
106121
- _WorkflowMode: 1
107122
- _ZWrite: 1
108123
m_Colors:
109-
- _BaseColor: {r: 0.1132075, g: 0.1132075, b: 0.1132075, a: 1}
110-
- _Color: {r: 0.11320752, g: 0.11320752, b: 0.11320752, a: 1}
124+
- _BaseColor: {r: 0, g: 0, b: 0, a: 1}
125+
- _Color: {r: 0, g: 0, b: 0, a: 1}
111126
- _EmissionColor: {r: 0, g: 0, b: 0, a: 1}
112127
- _SpecColor: {r: 0.19999996, g: 0.19999996, b: 0.19999996, a: 1}
113128
m_BuildTextureStacks: []
114-
--- !u!114 &3223492975648922437
115-
MonoBehaviour:
116-
m_ObjectHideFlags: 11
117-
m_CorrespondingSourceObject: {fileID: 0}
118-
m_PrefabInstance: {fileID: 0}
119-
m_PrefabAsset: {fileID: 0}
120-
m_GameObject: {fileID: 0}
121-
m_Enabled: 1
122-
m_EditorHideFlags: 0
123-
m_Script: {fileID: 11500000, guid: d0353a89b1f911e48b9e16bdc9f2e058, type: 3}
124-
m_Name:
125-
m_EditorClassIdentifier:
126-
version: 4
Lines changed: 22 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,33 @@
11
%YAML 1.1
22
%TAG !u! tag:unity3d.com,2011:
3+
--- !u!114 &-8763556397521792701
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
316
--- !u!21 &2100000
417
Material:
5-
serializedVersion: 6
18+
serializedVersion: 8
619
m_ObjectHideFlags: 0
720
m_CorrespondingSourceObject: {fileID: 0}
821
m_PrefabInstance: {fileID: 0}
922
m_PrefabAsset: {fileID: 0}
1023
m_Name: Body
1124
m_Shader: {fileID: 4800000, guid: 933532a4fcc9baf4fa0491de14d08ed7, type: 3}
12-
m_ShaderKeywords:
25+
m_ValidKeywords: []
26+
m_InvalidKeywords: []
1327
m_LightmapFlags: 4
1428
m_EnableInstancingVariants: 0
1529
m_DoubleSidedGI: 0
16-
m_CustomRenderQueue: 2000
30+
m_CustomRenderQueue: -1
1731
stringTagMap:
1832
RenderType: Opaque
1933
disabledShaderPasses: []
@@ -76,6 +90,7 @@ Material:
7690
m_Texture: {fileID: 0}
7791
m_Scale: {x: 1, y: 1}
7892
m_Offset: {x: 0, y: 0}
93+
m_Ints: []
7994
m_Floats:
8095
- _AlphaClip: 0
8196
- _Blend: 0
@@ -89,15 +104,15 @@ Material:
89104
- _DstBlend: 0
90105
- _EnvironmentReflections: 1
91106
- _GlossMapScale: 1
92-
- _Glossiness: 0.27
107+
- _Glossiness: 0
93108
- _GlossyReflections: 1
94109
- _Metallic: 0
95110
- _Mode: 0
96111
- _OcclusionStrength: 1
97112
- _Parallax: 0.02
98113
- _QueueOffset: 0
99114
- _ReceiveShadows: 1
100-
- _Smoothness: 0.27
115+
- _Smoothness: 0.5
101116
- _SmoothnessTextureChannel: 0
102117
- _SpecularHighlights: 1
103118
- _SrcBlend: 1
@@ -106,21 +121,8 @@ Material:
106121
- _WorkflowMode: 1
107122
- _ZWrite: 1
108123
m_Colors:
109-
- _BaseColor: {r: 0.6320754, g: 0.6320754, b: 0.6320754, a: 1}
110-
- _Color: {r: 0.6320754, g: 0.6320754, b: 0.6320754, a: 1}
124+
- _BaseColor: {r: 0.9063317, g: 0.9063317, b: 0.9063317, a: 1}
125+
- _Color: {r: 0.9063317, g: 0.9063317, b: 0.9063317, a: 1}
111126
- _EmissionColor: {r: 0, g: 0, b: 0, a: 1}
112127
- _SpecColor: {r: 0.19999996, g: 0.19999996, b: 0.19999996, a: 1}
113128
m_BuildTextureStacks: []
114-
--- !u!114 &2673677831442262053
115-
MonoBehaviour:
116-
m_ObjectHideFlags: 11
117-
m_CorrespondingSourceObject: {fileID: 0}
118-
m_PrefabInstance: {fileID: 0}
119-
m_PrefabAsset: {fileID: 0}
120-
m_GameObject: {fileID: 0}
121-
m_Enabled: 1
122-
m_EditorHideFlags: 0
123-
m_Script: {fileID: 11500000, guid: d0353a89b1f911e48b9e16bdc9f2e058, type: 3}
124-
m_Name:
125-
m_EditorClassIdentifier:
126-
version: 4

Assets/Materials/BodyP1.mat

Lines changed: 128 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,128 @@
1+
%YAML 1.1
2+
%TAG !u! tag:unity3d.com,2011:
3+
--- !u!114 &-2684652941309017255
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: 8
19+
m_ObjectHideFlags: 0
20+
m_CorrespondingSourceObject: {fileID: 0}
21+
m_PrefabInstance: {fileID: 0}
22+
m_PrefabAsset: {fileID: 0}
23+
m_Name: BodyP1
24+
m_Shader: {fileID: 4800000, guid: 933532a4fcc9baf4fa0491de14d08ed7, type: 3}
25+
m_ValidKeywords: []
26+
m_InvalidKeywords: []
27+
m_LightmapFlags: 4
28+
m_EnableInstancingVariants: 0
29+
m_DoubleSidedGI: 0
30+
m_CustomRenderQueue: -1
31+
stringTagMap:
32+
RenderType: Opaque
33+
disabledShaderPasses: []
34+
m_SavedProperties:
35+
serializedVersion: 3
36+
m_TexEnvs:
37+
- _BaseMap:
38+
m_Texture: {fileID: 2800000, guid: 9efa19daf3fd50745a0a24a744d15240, type: 3}
39+
m_Scale: {x: 1, y: 1}
40+
m_Offset: {x: 0, y: 0}
41+
- _BumpMap:
42+
m_Texture: {fileID: 0}
43+
m_Scale: {x: 1, y: 1}
44+
m_Offset: {x: 0, y: 0}
45+
- _DetailAlbedoMap:
46+
m_Texture: {fileID: 0}
47+
m_Scale: {x: 1, y: 1}
48+
m_Offset: {x: 0, y: 0}
49+
- _DetailMask:
50+
m_Texture: {fileID: 0}
51+
m_Scale: {x: 1, y: 1}
52+
m_Offset: {x: 0, y: 0}
53+
- _DetailNormalMap:
54+
m_Texture: {fileID: 0}
55+
m_Scale: {x: 1, y: 1}
56+
m_Offset: {x: 0, y: 0}
57+
- _EmissionMap:
58+
m_Texture: {fileID: 0}
59+
m_Scale: {x: 1, y: 1}
60+
m_Offset: {x: 0, y: 0}
61+
- _MainTex:
62+
m_Texture: {fileID: 2800000, guid: 9efa19daf3fd50745a0a24a744d15240, type: 3}
63+
m_Scale: {x: 1, y: 1}
64+
m_Offset: {x: 0, y: 0}
65+
- _MetallicGlossMap:
66+
m_Texture: {fileID: 0}
67+
m_Scale: {x: 1, y: 1}
68+
m_Offset: {x: 0, y: 0}
69+
- _OcclusionMap:
70+
m_Texture: {fileID: 0}
71+
m_Scale: {x: 1, y: 1}
72+
m_Offset: {x: 0, y: 0}
73+
- _ParallaxMap:
74+
m_Texture: {fileID: 0}
75+
m_Scale: {x: 1, y: 1}
76+
m_Offset: {x: 0, y: 0}
77+
- _SpecGlossMap:
78+
m_Texture: {fileID: 0}
79+
m_Scale: {x: 1, y: 1}
80+
m_Offset: {x: 0, y: 0}
81+
- unity_Lightmaps:
82+
m_Texture: {fileID: 0}
83+
m_Scale: {x: 1, y: 1}
84+
m_Offset: {x: 0, y: 0}
85+
- unity_LightmapsInd:
86+
m_Texture: {fileID: 0}
87+
m_Scale: {x: 1, y: 1}
88+
m_Offset: {x: 0, y: 0}
89+
- unity_ShadowMasks:
90+
m_Texture: {fileID: 0}
91+
m_Scale: {x: 1, y: 1}
92+
m_Offset: {x: 0, y: 0}
93+
m_Ints: []
94+
m_Floats:
95+
- _AlphaClip: 0
96+
- _Blend: 0
97+
- _BumpScale: 1
98+
- _ClearCoatMask: 0
99+
- _ClearCoatSmoothness: 0
100+
- _Cull: 2
101+
- _Cutoff: 0.5
102+
- _DetailAlbedoMapScale: 1
103+
- _DetailNormalMapScale: 1
104+
- _DstBlend: 0
105+
- _EnvironmentReflections: 1
106+
- _GlossMapScale: 1
107+
- _Glossiness: 0
108+
- _GlossyReflections: 1
109+
- _Metallic: 0
110+
- _Mode: 0
111+
- _OcclusionStrength: 1
112+
- _Parallax: 0.02
113+
- _QueueOffset: 0
114+
- _ReceiveShadows: 1
115+
- _Smoothness: 0.5
116+
- _SmoothnessTextureChannel: 0
117+
- _SpecularHighlights: 1
118+
- _SrcBlend: 1
119+
- _Surface: 0
120+
- _UVSec: 0
121+
- _WorkflowMode: 1
122+
- _ZWrite: 1
123+
m_Colors:
124+
- _BaseColor: {r: 0.9, g: 0.9, b: 0.9, a: 1}
125+
- _Color: {r: 0.9, g: 0.9, b: 0.9, a: 1}
126+
- _EmissionColor: {r: 0, g: 0, b: 0, a: 1}
127+
- _SpecColor: {r: 0.19999996, g: 0.19999996, b: 0.19999996, a: 1}
128+
m_BuildTextureStacks: []

0 commit comments

Comments
 (0)