Skip to content

Commit eab3dd9

Browse files
authored
Add urp materials into sample shared package. (#160)
* Clean up sample namespace * Update all projects to Unity 2020.3.48f1 * Make sampleshared compatible with ARFoundation5 * Update SampleShared to support URP samples. * Add URP version lit material for URP projects, because the graphics tools' shader doesn't cast or receive shadows. * Sample shared 0.0.5 will support URP materials.
1 parent 816bf4c commit eab3dd9

27 files changed

+2433
-12
lines changed

BasicSample/Assets/HandTracking/HandTracking.unity

Lines changed: 16 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1358,6 +1358,7 @@ Transform:
13581358
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
13591359
m_LocalPosition: {x: 0, y: 0, z: 0}
13601360
m_LocalScale: {x: 1, y: 1, z: 1}
1361+
m_ConstrainProportionsScale: 0
13611362
m_Children: []
13621363
m_Father: {fileID: 0}
13631364
m_RootOrder: 1
@@ -1611,12 +1612,12 @@ MonoBehaviour:
16111612
m_margin: {x: 0, y: 1.1615484, z: 0.9536365, w: 1.6841211}
16121613
m_isUsingLegacyAnimationComponent: 0
16131614
m_isVolumetricText: 0
1614-
m_hasFontAssetChanged: 0
1615-
m_renderer: {fileID: 1853181844}
1616-
m_maskType: 0
16171615
_SortingLayer: 0
16181616
_SortingLayerID: 0
16191617
_SortingOrder: 0
1618+
m_hasFontAssetChanged: 0
1619+
m_renderer: {fileID: 1853181844}
1620+
m_maskType: 0
16201621
--- !u!23 &1853181844
16211622
MeshRenderer:
16221623
m_ObjectHideFlags: 0
@@ -1628,6 +1629,7 @@ MeshRenderer:
16281629
m_CastShadows: 0
16291630
m_ReceiveShadows: 0
16301631
m_DynamicOccludee: 1
1632+
m_StaticShadowCaster: 0
16311633
m_MotionVectors: 1
16321634
m_LightProbeUsage: 1
16331635
m_ReflectionProbeUsage: 1
@@ -1668,6 +1670,7 @@ RectTransform:
16681670
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
16691671
m_LocalPosition: {x: 0, y: 0, z: -0.0009999871}
16701672
m_LocalScale: {x: 0.00641, y: 0.00641, z: 0.00641}
1673+
m_ConstrainProportionsScale: 0
16711674
m_Children: []
16721675
m_Father: {fileID: 1413882216}
16731676
m_RootOrder: 4
@@ -1730,6 +1733,7 @@ MeshRenderer:
17301733
m_CastShadows: 1
17311734
m_ReceiveShadows: 1
17321735
m_DynamicOccludee: 1
1736+
m_StaticShadowCaster: 0
17331737
m_MotionVectors: 1
17341738
m_LightProbeUsage: 1
17351739
m_ReflectionProbeUsage: 1
@@ -1770,6 +1774,7 @@ Transform:
17701774
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
17711775
m_LocalPosition: {x: -0.22, y: 0.06, z: 0.9}
17721776
m_LocalScale: {x: 0.10000001, y: 0.1, z: 0.10000001}
1777+
m_ConstrainProportionsScale: 0
17731778
m_Children:
17741779
- {fileID: 2128321175}
17751780
m_Father: {fileID: 0}
@@ -1803,6 +1808,7 @@ Transform:
18031808
m_LocalRotation: {x: -0.7071068, y: 0, z: 0, w: 0.7071068}
18041809
m_LocalPosition: {x: 2.2, y: 0, z: 0}
18051810
m_LocalScale: {x: 0.5, y: 1, z: 0.13}
1811+
m_ConstrainProportionsScale: 0
18061812
m_Children: []
18071813
m_Father: {fileID: 1921563188}
18081814
m_RootOrder: 0
@@ -1818,6 +1824,7 @@ MeshRenderer:
18181824
m_CastShadows: 1
18191825
m_ReceiveShadows: 1
18201826
m_DynamicOccludee: 1
1827+
m_StaticShadowCaster: 0
18211828
m_MotionVectors: 1
18221829
m_LightProbeUsage: 1
18231830
m_ReflectionProbeUsage: 1
@@ -1826,7 +1833,7 @@ MeshRenderer:
18261833
m_RenderingLayerMask: 1
18271834
m_RendererPriority: 0
18281835
m_Materials:
1829-
- {fileID: 10303, guid: 0000000000000000f000000000000000, type: 0}
1836+
- {fileID: 2100000, guid: e6ad2b06d990d614688af3630dc4378e, type: 2}
18301837
m_StaticBatchInfo:
18311838
firstSubMesh: 0
18321839
subMeshCount: 0
@@ -1866,6 +1873,7 @@ Transform:
18661873
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
18671874
m_LocalPosition: {x: 0, y: 0, z: 0}
18681875
m_LocalScale: {x: 1, y: 1, z: 1}
1876+
m_ConstrainProportionsScale: 0
18691877
m_Children: []
18701878
m_Father: {fileID: 8273532000452037304}
18711879
m_RootOrder: 0
@@ -1894,6 +1902,7 @@ MeshRenderer:
18941902
m_CastShadows: 1
18951903
m_ReceiveShadows: 1
18961904
m_DynamicOccludee: 1
1905+
m_StaticShadowCaster: 0
18971906
m_MotionVectors: 1
18981907
m_LightProbeUsage: 1
18991908
m_ReflectionProbeUsage: 1
@@ -1969,6 +1978,7 @@ Transform:
19691978
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
19701979
m_LocalPosition: {x: 0, y: 0, z: 0}
19711980
m_LocalScale: {x: 1, y: 1, z: 1}
1981+
m_ConstrainProportionsScale: 0
19721982
m_Children: []
19731983
m_Father: {fileID: 8273532000452037304}
19741984
m_RootOrder: 1
@@ -1997,6 +2007,7 @@ MeshRenderer:
19972007
m_CastShadows: 1
19982008
m_ReceiveShadows: 1
19992009
m_DynamicOccludee: 1
2010+
m_StaticShadowCaster: 0
20002011
m_MotionVectors: 1
20012012
m_LightProbeUsage: 1
20022013
m_ReflectionProbeUsage: 1
@@ -2056,6 +2067,7 @@ Transform:
20562067
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
20572068
m_LocalPosition: {x: 0, y: 0, z: 0}
20582069
m_LocalScale: {x: 1, y: 1, z: 1}
2070+
m_ConstrainProportionsScale: 0
20592071
m_Children:
20602072
- {fileID: 8273531998929587970}
20612073
- {fileID: 8273531999566147557}

0 commit comments

Comments
 (0)