Skip to content

Commit eac799c

Browse files
Fixed several tests, mainly by adding assets that were missing.
1 parent 8653cc1 commit eac799c

File tree

30 files changed

+1036
-6
lines changed

30 files changed

+1036
-6
lines changed
Lines changed: 81 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,81 @@
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_PrefabParentObject: {fileID: 0}
8+
m_PrefabInternal: {fileID: 0}
9+
m_Name: Explosion
10+
m_Shader: {fileID: 203, guid: 0000000000000000f000000000000000, type: 0}
11+
m_ShaderKeywords:
12+
m_LightmapFlags: 4
13+
m_EnableInstancingVariants: 0
14+
m_DoubleSidedGI: 0
15+
m_CustomRenderQueue: -1
16+
stringTagMap: {}
17+
disabledShaderPasses: []
18+
m_SavedProperties:
19+
serializedVersion: 3
20+
m_TexEnvs:
21+
- _BumpMap:
22+
m_Texture: {fileID: 0}
23+
m_Scale: {x: 1, y: 1}
24+
m_Offset: {x: 0, y: 0}
25+
- _Cube:
26+
m_Texture: {fileID: 0}
27+
m_Scale: {x: 1, y: 1}
28+
m_Offset: {x: 0, y: 0}
29+
- _DetailAlbedoMap:
30+
m_Texture: {fileID: 0}
31+
m_Scale: {x: 1, y: 1}
32+
m_Offset: {x: 0, y: 0}
33+
- _DetailMask:
34+
m_Texture: {fileID: 0}
35+
m_Scale: {x: 1, y: 1}
36+
m_Offset: {x: 0, y: 0}
37+
- _DetailNormalMap:
38+
m_Texture: {fileID: 0}
39+
m_Scale: {x: 1, y: 1}
40+
m_Offset: {x: 0, y: 0}
41+
- _EmissionMap:
42+
m_Texture: {fileID: 0}
43+
m_Scale: {x: 1, y: 1}
44+
m_Offset: {x: 0, y: 0}
45+
- _MainTex:
46+
m_Texture: {fileID: 2800000, guid: 44acfdee0d2ae46729e3fe0ba918d610, type: 3}
47+
m_Scale: {x: 1, y: 1}
48+
m_Offset: {x: 0, y: 0}
49+
- _ParallaxMap:
50+
m_Texture: {fileID: 0}
51+
m_Scale: {x: 1, y: 1}
52+
m_Offset: {x: 0, y: 0}
53+
- _SpecGlossMap:
54+
m_Texture: {fileID: 0}
55+
m_Scale: {x: 1, y: 1}
56+
m_Offset: {x: 0, y: 0}
57+
m_Floats:
58+
- _BumpScale: 1
59+
- _Cutoff: 0.5
60+
- _DetailNormalMapScale: 1
61+
- _DstBlend: 0
62+
- _GlossMapScale: 1
63+
- _Glossiness: 0.5
64+
- _GlossinessSource: 0
65+
- _GlossyReflections: 1
66+
- _InvFade: 1
67+
- _Mode: 0
68+
- _Parallax: 0.02
69+
- _ReflectionSource: 0
70+
- _Shininess: 1
71+
- _SmoothnessTextureChannel: 0
72+
- _SpecSource: 0
73+
- _SpecularHighlights: 1
74+
- _SrcBlend: 1
75+
- _UVSec: 0
76+
- _ZWrite: 1
77+
m_Colors:
78+
- _Color: {r: 1, g: 1, b: 1, a: 1}
79+
- _EmissionColor: {r: 0, g: 0, b: 0, a: 1}
80+
- _SpecColor: {r: 1, g: 1, b: 1, a: 1}
81+
- _TintColor: {r: 1, g: 1, b: 1, a: 0.5019608}

TestProjects/UniversalGfxTestStereo/Assets/CommonAssets/Materials/Explosion.mat.meta

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

TestProjects/UniversalGfxTestStereo/Assets/CommonAssets/Scripts/Particles.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: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
using System.Collections;
2+
using System.Collections.Generic;
3+
using UnityEngine;
4+
5+
[ExecuteAlways]
6+
public class PlaySystems : MonoBehaviour {
7+
8+
public ParticleSystem[] particleSystems;
9+
[Range(0, 1)]
10+
public float simPoint = 0.5f;
11+
void OnEnable () {
12+
foreach(ParticleSystem ps in particleSystems){
13+
if (ps != null)
14+
{
15+
float life = ps.main.duration * simPoint;
16+
ps.Simulate(life, true, true, false);
17+
}
18+
}
19+
}
20+
21+
void OnDisable()
22+
{
23+
foreach (ParticleSystem ps in particleSystems)
24+
{
25+
if(ps != null)
26+
ps.Stop();
27+
}
28+
}
29+
}

TestProjects/UniversalGfxTestStereo/Assets/CommonAssets/Scripts/Particles/PlaySystems.cs.meta

Lines changed: 13 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
version https://git-lfs.github.com/spec/v1
2+
oid sha256:131ee1c005eb4ef67649741f09ca73f353c436359dbcb36935767fb7ad4435be
3+
size 2942336

TestProjects/UniversalGfxTestStereo/Assets/CommonAssets/Textures/Exp_01.tif.meta

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

TestProjects/UniversalGfxTestStereo/Assets/Scenes/017_xr_Particles_Additive.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: 81 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,81 @@
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_PrefabParentObject: {fileID: 0}
8+
m_PrefabInternal: {fileID: 0}
9+
m_Name: Magic
10+
m_Shader: {fileID: 202, guid: 0000000000000000f000000000000000, type: 0}
11+
m_ShaderKeywords:
12+
m_LightmapFlags: 4
13+
m_EnableInstancingVariants: 0
14+
m_DoubleSidedGI: 0
15+
m_CustomRenderQueue: -1
16+
stringTagMap: {}
17+
disabledShaderPasses: []
18+
m_SavedProperties:
19+
serializedVersion: 3
20+
m_TexEnvs:
21+
- _BumpMap:
22+
m_Texture: {fileID: 0}
23+
m_Scale: {x: 1, y: 1}
24+
m_Offset: {x: 0, y: 0}
25+
- _Cube:
26+
m_Texture: {fileID: 0}
27+
m_Scale: {x: 1, y: 1}
28+
m_Offset: {x: 0, y: 0}
29+
- _DetailAlbedoMap:
30+
m_Texture: {fileID: 0}
31+
m_Scale: {x: 1, y: 1}
32+
m_Offset: {x: 0, y: 0}
33+
- _DetailMask:
34+
m_Texture: {fileID: 0}
35+
m_Scale: {x: 1, y: 1}
36+
m_Offset: {x: 0, y: 0}
37+
- _DetailNormalMap:
38+
m_Texture: {fileID: 0}
39+
m_Scale: {x: 1, y: 1}
40+
m_Offset: {x: 0, y: 0}
41+
- _EmissionMap:
42+
m_Texture: {fileID: 0}
43+
m_Scale: {x: 1, y: 1}
44+
m_Offset: {x: 0, y: 0}
45+
- _MainTex:
46+
m_Texture: {fileID: 10300, guid: 0000000000000000f000000000000000, type: 0}
47+
m_Scale: {x: 1, y: 1}
48+
m_Offset: {x: 0, y: 0}
49+
- _ParallaxMap:
50+
m_Texture: {fileID: 0}
51+
m_Scale: {x: 1, y: 1}
52+
m_Offset: {x: 0, y: 0}
53+
- _SpecGlossMap:
54+
m_Texture: {fileID: 0}
55+
m_Scale: {x: 1, y: 1}
56+
m_Offset: {x: 0, y: 0}
57+
m_Floats:
58+
- _BumpScale: 1
59+
- _Cutoff: 0.5
60+
- _DetailNormalMapScale: 1
61+
- _DstBlend: 0
62+
- _GlossMapScale: 1
63+
- _Glossiness: 0.5
64+
- _GlossinessSource: 0
65+
- _GlossyReflections: 1
66+
- _InvFade: 0.5
67+
- _Mode: 0
68+
- _Parallax: 0.02
69+
- _ReflectionSource: 0
70+
- _Shininess: 1
71+
- _SmoothnessTextureChannel: 0
72+
- _SpecSource: 0
73+
- _SpecularHighlights: 1
74+
- _SrcBlend: 1
75+
- _UVSec: 0
76+
- _ZWrite: 1
77+
m_Colors:
78+
- _Color: {r: 1, g: 1, b: 1, a: 1}
79+
- _EmissionColor: {r: 0, g: 0, b: 0, a: 1}
80+
- _SpecColor: {r: 1, g: 1, b: 1, a: 1}
81+
- _TintColor: {r: 1, g: 1, b: 1, a: 1}

TestProjects/UniversalGfxTestStereo/Assets/Scenes/017_xr_Particles_Additive/Magic.mat.meta

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

0 commit comments

Comments
 (0)