Skip to content

Commit 4ef2751

Browse files
unity-cchuEvergreen
authored andcommitted
Render 3D as 2D v3 Tests
1 parent 4368c56 commit 4ef2751

File tree

68 files changed

+59749
-0
lines changed

Some content is hidden

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

68 files changed

+59749
-0
lines changed

Tests/SRPTests/Projects/UniversalGraphicsTest_2D/Assets/Scenes/100_Mesh2D-Default.unity

Lines changed: 5232 additions & 0 deletions
Large diffs are not rendered by default.

Tests/SRPTests/Projects/UniversalGraphicsTest_2D/Assets/Scenes/100_Mesh2D-Default.unity.meta

Lines changed: 7 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Tests/SRPTests/Projects/UniversalGraphicsTest_2D/Assets/Scenes/100_Render3DAs2D.meta

Lines changed: 8 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Tests/SRPTests/Projects/UniversalGraphicsTest_2D/Assets/Scenes/100_Render3DAs2D/108 Materials.meta

Lines changed: 8 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 98 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,98 @@
1+
%YAML 1.1
2+
%TAG !u! tag:unity3d.com,2011:
3+
--- !u!114 &-5978559468002789555
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: 10
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: Blue-SG-Lit-Rabbit
24+
m_Shader: {fileID: -6465566751694194690, guid: 276f1728ac5a71c4a970056a495dd337,
25+
type: 3}
26+
m_Parent: {fileID: 0}
27+
m_ModifiedSerializedProperties: 0
28+
m_ValidKeywords: []
29+
m_InvalidKeywords:
30+
- _ZWRITE_ON
31+
m_LightmapFlags: 4
32+
m_EnableInstancingVariants: 1
33+
m_DoubleSidedGI: 0
34+
m_CustomRenderQueue: -1
35+
stringTagMap: {}
36+
disabledShaderPasses:
37+
- MOTIONVECTORS
38+
m_LockedProperties:
39+
m_SavedProperties:
40+
serializedVersion: 3
41+
m_TexEnvs:
42+
- Base_Map:
43+
m_Texture: {fileID: 0}
44+
m_Scale: {x: 1, y: 1}
45+
m_Offset: {x: 0, y: 0}
46+
- Normal_Map:
47+
m_Texture: {fileID: 0}
48+
m_Scale: {x: 1, y: 1}
49+
m_Offset: {x: 0, y: 0}
50+
- _AlphaTex:
51+
m_Texture: {fileID: 0}
52+
m_Scale: {x: 1, y: 1}
53+
m_Offset: {x: 0, y: 0}
54+
- _AmbientOcclusion:
55+
m_Texture: {fileID: 0}
56+
m_Scale: {x: 1, y: 1}
57+
m_Offset: {x: 0, y: 0}
58+
- _MainTex:
59+
m_Texture: {fileID: 2800000, guid: 9f9f3017d358d44ccb736a7bd6592786, type: 3}
60+
m_Scale: {x: 1, y: 1}
61+
m_Offset: {x: 0, y: 0}
62+
- _MaskTex:
63+
m_Texture: {fileID: 0}
64+
m_Scale: {x: 1, y: 1}
65+
m_Offset: {x: 0, y: 0}
66+
- _NormalMap:
67+
m_Texture: {fileID: 2800000, guid: d17e49d624142453c8a863e0ac64900b, type: 3}
68+
m_Scale: {x: 1, y: 1}
69+
m_Offset: {x: 0, y: 0}
70+
- unity_Lightmaps:
71+
m_Texture: {fileID: 0}
72+
m_Scale: {x: 1, y: 1}
73+
m_Offset: {x: 0, y: 0}
74+
- unity_LightmapsInd:
75+
m_Texture: {fileID: 0}
76+
m_Scale: {x: 1, y: 1}
77+
m_Offset: {x: 0, y: 0}
78+
- unity_ShadowMasks:
79+
m_Texture: {fileID: 0}
80+
m_Scale: {x: 1, y: 1}
81+
m_Offset: {x: 0, y: 0}
82+
m_Ints: []
83+
m_Floats:
84+
- Normal_Blend: 0.5
85+
- _DecalMeshBiasType: 0
86+
- _DecalMeshDepthBias: 0
87+
- _DecalMeshViewBias: 0
88+
- _DrawOrder: 0
89+
- _EnableExternalAlpha: 0
90+
- _ZWrite: 1
91+
m_Colors:
92+
- White: {r: 1, g: 1, b: 1, a: 1}
93+
- _Color: {r: 0, g: 0.098967075, b: 1, a: 1}
94+
- _Flip: {r: 1, g: 1, b: 1, a: 1}
95+
- _RendererColor: {r: 1, g: 1, b: 1, a: 1}
96+
- _White: {r: 1, g: 1, b: 1, a: 1}
97+
m_BuildTextureStacks: []
98+
m_AllowLocking: 1

Tests/SRPTests/Projects/UniversalGraphicsTest_2D/Assets/Scenes/100_Render3DAs2D/108 Materials/Blue-SG-Lit-Rabbit.mat.meta

Lines changed: 8 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 154 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,154 @@
1+
%YAML 1.1
2+
%TAG !u! tag:unity3d.com,2011:
3+
--- !u!21 &2100000
4+
Material:
5+
serializedVersion: 8
6+
m_ObjectHideFlags: 0
7+
m_CorrespondingSourceObject: {fileID: 0}
8+
m_PrefabInstance: {fileID: 0}
9+
m_PrefabAsset: {fileID: 0}
10+
m_Name: Blue-SG-Lit-Rabbit2
11+
m_Shader: {fileID: -6465566751694194690, guid: 276f1728ac5a71c4a970056a495dd337,
12+
type: 3}
13+
m_Parent: {fileID: 0}
14+
m_ModifiedSerializedProperties: 0
15+
m_ValidKeywords: []
16+
m_InvalidKeywords:
17+
- _ZWRITE_ON
18+
m_LightmapFlags: 4
19+
m_EnableInstancingVariants: 0
20+
m_DoubleSidedGI: 0
21+
m_CustomRenderQueue: -1
22+
stringTagMap: {}
23+
disabledShaderPasses:
24+
- MOTIONVECTORS
25+
m_LockedProperties:
26+
m_SavedProperties:
27+
serializedVersion: 3
28+
m_TexEnvs:
29+
- Texture2D_157F2F46:
30+
m_Texture: {fileID: 0}
31+
m_Scale: {x: 1, y: 1}
32+
m_Offset: {x: 0, y: 0}
33+
- Texture2D_62A554C2:
34+
m_Texture: {fileID: 0}
35+
m_Scale: {x: 1, y: 1}
36+
m_Offset: {x: 0, y: 0}
37+
- _AlphaTex:
38+
m_Texture: {fileID: 0}
39+
m_Scale: {x: 1, y: 1}
40+
m_Offset: {x: 0, y: 0}
41+
- _AmbientOcclusion:
42+
m_Texture: {fileID: 2800000, guid: 539fd2274b23049d48993a6b1d8a10d3, type: 3}
43+
m_Scale: {x: 1, y: 1}
44+
m_Offset: {x: 0, y: 0}
45+
- _BumpMap:
46+
m_Texture: {fileID: 0}
47+
m_Scale: {x: 1, y: 1}
48+
m_Offset: {x: 0, y: 0}
49+
- _DetailAlbedoMap:
50+
m_Texture: {fileID: 0}
51+
m_Scale: {x: 1, y: 1}
52+
m_Offset: {x: 0, y: 0}
53+
- _DetailMask:
54+
m_Texture: {fileID: 0}
55+
m_Scale: {x: 1, y: 1}
56+
m_Offset: {x: 0, y: 0}
57+
- _DetailNormalMap:
58+
m_Texture: {fileID: 0}
59+
m_Scale: {x: 1, y: 1}
60+
m_Offset: {x: 0, y: 0}
61+
- _EmissionMap:
62+
m_Texture: {fileID: 0}
63+
m_Scale: {x: 1, y: 1}
64+
m_Offset: {x: 0, y: 0}
65+
- _MainTex:
66+
m_Texture: {fileID: 2800000, guid: 106c5cc4c76c646dea6d654713640294, type: 3}
67+
m_Scale: {x: 1, y: 1}
68+
m_Offset: {x: 0, y: 0}
69+
- _MaskTex:
70+
m_Texture: {fileID: 0}
71+
m_Scale: {x: 1, y: 1}
72+
m_Offset: {x: 0, y: 0}
73+
- _MetallicGlossMap:
74+
m_Texture: {fileID: 0}
75+
m_Scale: {x: 1, y: 1}
76+
m_Offset: {x: 0, y: 0}
77+
- _NormalMap:
78+
m_Texture: {fileID: 2800000, guid: 1ad007c25893a4418ba1f09c7a8146eb, type: 3}
79+
m_Scale: {x: 1, y: 1}
80+
m_Offset: {x: 0, y: 0}
81+
- _OcclusionMap:
82+
m_Texture: {fileID: 0}
83+
m_Scale: {x: 1, y: 1}
84+
m_Offset: {x: 0, y: 0}
85+
- _ParallaxMap:
86+
m_Texture: {fileID: 0}
87+
m_Scale: {x: 1, y: 1}
88+
m_Offset: {x: 0, y: 0}
89+
- _Texture2D:
90+
m_Texture: {fileID: 0}
91+
m_Scale: {x: 1, y: 1}
92+
m_Offset: {x: 0, y: 0}
93+
- unity_Lightmaps:
94+
m_Texture: {fileID: 0}
95+
m_Scale: {x: 1, y: 1}
96+
m_Offset: {x: 0, y: 0}
97+
- unity_LightmapsInd:
98+
m_Texture: {fileID: 0}
99+
m_Scale: {x: 1, y: 1}
100+
m_Offset: {x: 0, y: 0}
101+
- unity_ShadowMasks:
102+
m_Texture: {fileID: 0}
103+
m_Scale: {x: 1, y: 1}
104+
m_Offset: {x: 0, y: 0}
105+
m_Ints: []
106+
m_Floats:
107+
- PixelSnap: 0
108+
- Vector1_55a8b126390543389171a7d049051d70: 0
109+
- Vector1_6eb44c5d2e6b4dbb93ad63ff27fda2b9: 0
110+
- _BumpScale: 1
111+
- _Cutoff: 0.5
112+
- _DetailNormalMapScale: 1
113+
- _DstBlend: 0
114+
- _EnableExternalAlpha: 0
115+
- _GlossMapScale: 1
116+
- _Glossiness: 0.5
117+
- _GlossyReflections: 1
118+
- _Metallic: 0
119+
- _Mode: 0
120+
- _OcclusionStrength: 1
121+
- _Parallax: 0.02
122+
- _QueueControl: 0
123+
- _QueueOffset: 0
124+
- _Smoothness: 0
125+
- _SmoothnessTextureChannel: 0
126+
- _SpecularHighlights: 1
127+
- _SrcBlend: 1
128+
- _UVSec: 0
129+
- _ZWrite: 1
130+
m_Colors:
131+
- Color_af230b329c8c495b83c610ab1c4228f3: {r: 4, g: 4, b: 4, a: 1}
132+
- Vector2_4594D2F0: {r: 1, g: 1, b: 0, a: 0}
133+
- White: {r: 1, g: 1, b: 1, a: 1}
134+
- _Color: {r: 0, g: 0.098967075, b: 1, a: 1}
135+
- _EmissionColor: {r: 0, g: 0, b: 0, a: 1}
136+
- _Flip: {r: 1, g: 1, b: 1, a: 1}
137+
- _LightDirection: {r: 3.36, g: 1.72, b: -1.35, a: 0}
138+
- _RendererColor: {r: 1, g: 1, b: 1, a: 1}
139+
- _White: {r: 1, g: 1, b: 1, a: 1}
140+
m_BuildTextureStacks: []
141+
m_AllowLocking: 1
142+
--- !u!114 &9131573936083971337
143+
MonoBehaviour:
144+
m_ObjectHideFlags: 11
145+
m_CorrespondingSourceObject: {fileID: 0}
146+
m_PrefabInstance: {fileID: 0}
147+
m_PrefabAsset: {fileID: 0}
148+
m_GameObject: {fileID: 0}
149+
m_Enabled: 1
150+
m_EditorHideFlags: 0
151+
m_Script: {fileID: 11500000, guid: d0353a89b1f911e48b9e16bdc9f2e058, type: 3}
152+
m_Name:
153+
m_EditorClassIdentifier:
154+
version: 10

Tests/SRPTests/Projects/UniversalGraphicsTest_2D/Assets/Scenes/100_Render3DAs2D/108 Materials/Blue-SG-Lit-Rabbit2.mat.meta

Lines changed: 8 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 98 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,98 @@
1+
%YAML 1.1
2+
%TAG !u! tag:unity3d.com,2011:
3+
--- !u!114 &-5978559468002789555
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: 10
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: Green-SG-Lit-Rabbit
24+
m_Shader: {fileID: -6465566751694194690, guid: 276f1728ac5a71c4a970056a495dd337,
25+
type: 3}
26+
m_Parent: {fileID: 0}
27+
m_ModifiedSerializedProperties: 0
28+
m_ValidKeywords: []
29+
m_InvalidKeywords:
30+
- _ZWRITE_ON
31+
m_LightmapFlags: 4
32+
m_EnableInstancingVariants: 1
33+
m_DoubleSidedGI: 0
34+
m_CustomRenderQueue: -1
35+
stringTagMap: {}
36+
disabledShaderPasses:
37+
- MOTIONVECTORS
38+
m_LockedProperties:
39+
m_SavedProperties:
40+
serializedVersion: 3
41+
m_TexEnvs:
42+
- Base_Map:
43+
m_Texture: {fileID: 0}
44+
m_Scale: {x: 1, y: 1}
45+
m_Offset: {x: 0, y: 0}
46+
- Normal_Map:
47+
m_Texture: {fileID: 0}
48+
m_Scale: {x: 1, y: 1}
49+
m_Offset: {x: 0, y: 0}
50+
- _AlphaTex:
51+
m_Texture: {fileID: 0}
52+
m_Scale: {x: 1, y: 1}
53+
m_Offset: {x: 0, y: 0}
54+
- _AmbientOcclusion:
55+
m_Texture: {fileID: 0}
56+
m_Scale: {x: 1, y: 1}
57+
m_Offset: {x: 0, y: 0}
58+
- _MainTex:
59+
m_Texture: {fileID: 2800000, guid: 9f9f3017d358d44ccb736a7bd6592786, type: 3}
60+
m_Scale: {x: 1, y: 1}
61+
m_Offset: {x: 0, y: 0}
62+
- _MaskTex:
63+
m_Texture: {fileID: 0}
64+
m_Scale: {x: 1, y: 1}
65+
m_Offset: {x: 0, y: 0}
66+
- _NormalMap:
67+
m_Texture: {fileID: 2800000, guid: d17e49d624142453c8a863e0ac64900b, type: 3}
68+
m_Scale: {x: 1, y: 1}
69+
m_Offset: {x: 0, y: 0}
70+
- unity_Lightmaps:
71+
m_Texture: {fileID: 0}
72+
m_Scale: {x: 1, y: 1}
73+
m_Offset: {x: 0, y: 0}
74+
- unity_LightmapsInd:
75+
m_Texture: {fileID: 0}
76+
m_Scale: {x: 1, y: 1}
77+
m_Offset: {x: 0, y: 0}
78+
- unity_ShadowMasks:
79+
m_Texture: {fileID: 0}
80+
m_Scale: {x: 1, y: 1}
81+
m_Offset: {x: 0, y: 0}
82+
m_Ints: []
83+
m_Floats:
84+
- Normal_Blend: 0.5
85+
- _DecalMeshBiasType: 0
86+
- _DecalMeshDepthBias: 0
87+
- _DecalMeshViewBias: 0
88+
- _DrawOrder: 0
89+
- _EnableExternalAlpha: 0
90+
- _ZWrite: 1
91+
m_Colors:
92+
- White: {r: 1, g: 1, b: 1, a: 1}
93+
- _Color: {r: 0, g: 1, b: 0.14535546, a: 1}
94+
- _Flip: {r: 1, g: 1, b: 1, a: 1}
95+
- _RendererColor: {r: 1, g: 1, b: 1, a: 1}
96+
- _White: {r: 1, g: 1, b: 1, a: 1}
97+
m_BuildTextureStacks: []
98+
m_AllowLocking: 1

0 commit comments

Comments
 (0)