diff --git a/Assets/Mirror/Examples/PlayerTest/PlayerPrefab.prefab b/Assets/Mirror/Examples/PlayerTest/PlayerPrefab.prefab index ceda59976..7b2453acd 100644 --- a/Assets/Mirror/Examples/PlayerTest/PlayerPrefab.prefab +++ b/Assets/Mirror/Examples/PlayerTest/PlayerPrefab.prefab @@ -25,13 +25,12 @@ Transform: m_PrefabInstance: {fileID: 0} m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 4592122871669721618} - serializedVersion: 2 m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} m_LocalPosition: {x: 0, y: 0.39999998, z: 0.5} m_LocalScale: {x: 0.5, y: 0.1, z: 0.2} - m_ConstrainProportionsScale: 0 m_Children: [] m_Father: {fileID: 3834521907656645861} + m_RootOrder: 0 m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} --- !u!33 &7450643213444322531 MeshFilter: @@ -52,12 +51,10 @@ MeshRenderer: m_CastShadows: 1 m_ReceiveShadows: 1 m_DynamicOccludee: 1 - m_StaticShadowCaster: 0 m_MotionVectors: 1 m_LightProbeUsage: 1 m_ReflectionProbeUsage: 1 m_RayTracingMode: 2 - m_RayTraceProcedural: 0 m_RenderingLayerMask: 4294967295 m_RendererPriority: 0 m_Materials: @@ -82,7 +79,6 @@ MeshRenderer: m_SortingLayerID: 0 m_SortingLayer: 0 m_SortingOrder: 0 - m_AdditionalVertexStreams: {fileID: 0} --- !u!1 &5844787331012650587 GameObject: m_ObjectHideFlags: 0 @@ -108,14 +104,13 @@ Transform: m_PrefabInstance: {fileID: 0} m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 5844787331012650587} - serializedVersion: 2 m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} m_LocalPosition: {x: 0, y: 0, z: 0} m_LocalScale: {x: 1, y: 1, z: 1} - m_ConstrainProportionsScale: 0 m_Children: - {fileID: 5246057292441020322} m_Father: {fileID: 4659514702152478195} + m_RootOrder: 0 m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} --- !u!33 &7647174189108629449 MeshFilter: @@ -136,12 +131,10 @@ MeshRenderer: m_CastShadows: 1 m_ReceiveShadows: 1 m_DynamicOccludee: 1 - m_StaticShadowCaster: 0 m_MotionVectors: 1 m_LightProbeUsage: 1 m_ReflectionProbeUsage: 1 m_RayTracingMode: 2 - m_RayTraceProcedural: 0 m_RenderingLayerMask: 1 m_RendererPriority: 0 m_Materials: @@ -166,7 +159,6 @@ MeshRenderer: m_SortingLayerID: 0 m_SortingLayer: 0 m_SortingOrder: 0 - m_AdditionalVertexStreams: {fileID: 0} --- !u!1 &7863680369626900553 GameObject: m_ObjectHideFlags: 0 @@ -198,14 +190,13 @@ Transform: m_PrefabInstance: {fileID: 0} m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 7863680369626900553} - serializedVersion: 2 m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} m_LocalPosition: {x: 0, y: 1.1, z: 0} m_LocalScale: {x: 1, y: 1, z: 1} - m_ConstrainProportionsScale: 0 m_Children: - {fileID: 3834521907656645861} m_Father: {fileID: 0} + m_RootOrder: 0 m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} --- !u!136 &4284051235536850638 CapsuleCollider: @@ -215,17 +206,8 @@ CapsuleCollider: m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 7863680369626900553} m_Material: {fileID: 0} - m_IncludeLayers: - serializedVersion: 2 - m_Bits: 0 - m_ExcludeLayers: - serializedVersion: 2 - m_Bits: 0 - m_LayerOverridePriority: 0 m_IsTrigger: 0 - m_ProvidesContacts: 0 m_Enabled: 1 - serializedVersion: 2 m_Radius: 0.5 m_Height: 2 m_Direction: 1 @@ -238,17 +220,9 @@ CharacterController: m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 7863680369626900553} m_Material: {fileID: 0} - m_IncludeLayers: - serializedVersion: 2 - m_Bits: 0 - m_ExcludeLayers: - serializedVersion: 2 - m_Bits: 0 - m_LayerOverridePriority: 0 m_IsTrigger: 0 - m_ProvidesContacts: 0 m_Enabled: 0 - serializedVersion: 3 + serializedVersion: 2 m_Height: 2 m_Radius: 0.5 m_SlopeLimit: 45 @@ -263,21 +237,10 @@ Rigidbody: m_PrefabInstance: {fileID: 0} m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 7863680369626900553} - serializedVersion: 4 + serializedVersion: 2 m_Mass: 1 m_Drag: 0 m_AngularDrag: 0.05 - m_CenterOfMass: {x: 0, y: 0, z: 0} - m_InertiaTensor: {x: 1, y: 1, z: 1} - m_InertiaRotation: {x: 0, y: 0, z: 0, w: 1} - m_IncludeLayers: - serializedVersion: 2 - m_Bits: 0 - m_ExcludeLayers: - serializedVersion: 2 - m_Bits: 0 - m_ImplicitCom: 1 - m_ImplicitTensor: 1 m_UseGravity: 1 m_IsKinematic: 1 m_Interpolate: 0 @@ -296,7 +259,7 @@ MonoBehaviour: m_Name: m_EditorClassIdentifier: sceneId: 0 - _assetId: 810734400 + _assetId: 2059247497 serverOnly: 0 visibility: 0 hasSpawned: 0 @@ -350,7 +313,8 @@ MonoBehaviour: syncMode: 0 syncInterval: 0 characterController: {fileID: 1014105431373575527} - ControllerUIPrefab: {fileID: 644766297742565710, guid: 7beee247444994f0281dadde274cc4af, type: 3} + ControllerUIPrefab: {fileID: 644766297742565710, guid: 7beee247444994f0281dadde274cc4af, + type: 3} moveKeys: Forward: 119 Back: 115 diff --git a/Assets/Mirror/Examples/PlayerTest/PlayerTestScene.unity b/Assets/Mirror/Examples/PlayerTest/PlayerTestScene.unity index a3999b580..f3d7f4641 100644 --- a/Assets/Mirror/Examples/PlayerTest/PlayerTestScene.unity +++ b/Assets/Mirror/Examples/PlayerTest/PlayerTestScene.unity @@ -37,7 +37,7 @@ RenderSettings: m_ReflectionBounces: 1 m_ReflectionIntensity: 1 m_CustomReflection: {fileID: 0} - m_Sun: {fileID: 0} + m_Sun: {fileID: 2078663352} m_IndirectSpecularColor: {r: 0.44657898, g: 0.4964133, b: 0.5748178, a: 1} m_UseRadianceAmbientProbe: 0 --- !u!157 &3 @@ -97,7 +97,8 @@ LightmapSettings: m_ExportTrainingData: 0 m_TrainingDataDestination: TrainingData m_LightProbeSampleCountMultiplier: 4 - m_LightingDataAsset: {fileID: 0} + m_LightingDataAsset: {fileID: 112000000, guid: 7dde303f10b9fde4fae4878d2c9f360f, + type: 2} m_UseShadowmask: 1 --- !u!196 &4 NavMeshSettings: @@ -202,7 +203,7 @@ Transform: m_LocalScale: {x: 1, y: 1, z: 1} m_Children: [] m_Father: {fileID: 0} - m_RootOrder: 2 + m_RootOrder: 0 m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} --- !u!1 &856494733 GameObject: @@ -321,7 +322,7 @@ BoxCollider: m_IsTrigger: 0 m_Enabled: 1 serializedVersion: 2 - m_Size: {x: 2, y: 2, z: 2} + m_Size: {x: 1, y: 1, z: 1} m_Center: {x: 0, y: 0, z: 0} --- !u!23 &856494739 MeshRenderer: @@ -382,7 +383,7 @@ Transform: m_LocalScale: {x: 4, y: 4, z: 4} m_Children: [] m_Father: {fileID: 0} - m_RootOrder: 0 + m_RootOrder: 3 m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} --- !u!1 &890531170 GameObject: @@ -425,7 +426,7 @@ Transform: m_LocalScale: {x: 1, y: 1, z: 1} m_Children: [] m_Father: {fileID: 0} - m_RootOrder: 4 + m_RootOrder: 5 m_LocalEulerAnglesHint: {x: 0, y: 45, z: 0} --- !u!1 &980545347 GameObject: @@ -468,7 +469,7 @@ Transform: m_LocalScale: {x: 1, y: 1, z: 1} m_Children: [] m_Father: {fileID: 0} - m_RootOrder: 5 + m_RootOrder: 6 m_LocalEulerAnglesHint: {x: 0, y: 135, z: 0} --- !u!1 &1175360880 GameObject: @@ -511,72 +512,84 @@ Transform: m_LocalScale: {x: 1, y: 1, z: 1} m_Children: [] m_Father: {fileID: 0} - m_RootOrder: 6 + m_RootOrder: 7 m_LocalEulerAnglesHint: {x: 0, y: -45, z: 0} ---- !u!1001 &1267422303 -PrefabInstance: +--- !u!1 &1177316161 +GameObject: m_ObjectHideFlags: 0 - serializedVersion: 2 - m_Modification: - m_TransformParent: {fileID: 0} - m_Modifications: - - target: {fileID: 7289113483685912224, guid: 8aa53535b8964fd4e985d4a620888b1d, - type: 3} - propertyPath: m_LocalPosition.x - value: -500 - objectReference: {fileID: 0} - - target: {fileID: 7289113483685912224, guid: 8aa53535b8964fd4e985d4a620888b1d, - type: 3} - propertyPath: m_LocalPosition.y - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 7289113483685912224, guid: 8aa53535b8964fd4e985d4a620888b1d, - type: 3} - propertyPath: m_LocalPosition.z - value: -500 - objectReference: {fileID: 0} - - target: {fileID: 7289113483685912224, guid: 8aa53535b8964fd4e985d4a620888b1d, - type: 3} - propertyPath: m_LocalRotation.w - value: 1 - objectReference: {fileID: 0} - - target: {fileID: 7289113483685912224, guid: 8aa53535b8964fd4e985d4a620888b1d, - type: 3} - propertyPath: m_LocalRotation.x - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 7289113483685912224, guid: 8aa53535b8964fd4e985d4a620888b1d, - type: 3} - propertyPath: m_LocalRotation.y - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 7289113483685912224, guid: 8aa53535b8964fd4e985d4a620888b1d, - type: 3} - propertyPath: m_LocalRotation.z - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 7289113483685912224, guid: 8aa53535b8964fd4e985d4a620888b1d, - type: 3} - propertyPath: m_LocalEulerAnglesHint.x - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 7289113483685912224, guid: 8aa53535b8964fd4e985d4a620888b1d, - type: 3} - propertyPath: m_LocalEulerAnglesHint.y - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 7289113483685912224, guid: 8aa53535b8964fd4e985d4a620888b1d, - type: 3} - propertyPath: m_LocalEulerAnglesHint.z - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 7289113483685912227, guid: 8aa53535b8964fd4e985d4a620888b1d, - type: 3} - propertyPath: m_Name - value: Terrain - objectReference: {fileID: 0} - m_RemovedComponents: [] - m_SourcePrefab: {fileID: 100100000, guid: 8aa53535b8964fd4e985d4a620888b1d, type: 3} + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 1177316164} + - component: {fileID: 1177316163} + - component: {fileID: 1177316162} + m_Layer: 0 + m_Name: Terrain + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 4294967295 + m_IsActive: 1 +--- !u!154 &1177316162 +TerrainCollider: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1177316161} + m_Material: {fileID: 0} + m_Enabled: 1 + m_TerrainData: {fileID: 15600000, guid: 3a63939a39af1904d908274fdcd10fb6, type: 2} + m_EnableTreeColliders: 1 +--- !u!218 &1177316163 +Terrain: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1177316161} + m_Enabled: 1 + serializedVersion: 6 + m_TerrainData: {fileID: 15600000, guid: 3a63939a39af1904d908274fdcd10fb6, type: 2} + m_TreeDistance: 5000 + m_TreeBillboardDistance: 50 + m_TreeCrossFadeLength: 5 + m_TreeMaximumFullLODCount: 50 + m_DetailObjectDistance: 80 + m_DetailObjectDensity: 1 + m_HeightmapPixelError: 5 + m_SplatMapDistance: 1000 + m_HeightmapMaximumLOD: 0 + m_ShadowCastingMode: 2 + m_DrawHeightmap: 1 + m_DrawInstanced: 0 + m_DrawTreesAndFoliage: 1 + m_ReflectionProbeUsage: 1 + m_MaterialTemplate: {fileID: 10652, guid: 0000000000000000f000000000000000, type: 0} + m_BakeLightProbesForTrees: 1 + m_PreserveTreePrototypeLayers: 0 + m_DeringLightProbesForTrees: 1 + m_ScaleInLightmap: 0.0256 + m_LightmapParameters: {fileID: 15203, guid: 0000000000000000f000000000000000, type: 0} + m_GroupingID: 0 + m_RenderingLayerMask: 1 + m_AllowAutoConnect: 1 +--- !u!4 &1177316164 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1177316161} + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalPosition: {x: -500, y: 0, z: -500} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: [] + m_Father: {fileID: 0} + m_RootOrder: 2 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} --- !u!1 &1708370876 GameObject: m_ObjectHideFlags: 0 @@ -618,7 +631,7 @@ Transform: m_LocalScale: {x: 1, y: 1, z: 1} m_Children: [] m_Father: {fileID: 0} - m_RootOrder: 7 + m_RootOrder: 8 m_LocalEulerAnglesHint: {x: 0, y: -135, z: 0} --- !u!1 &2078663351 GameObject: @@ -648,7 +661,7 @@ Light: serializedVersion: 10 m_Type: 1 m_Shape: 0 - m_Color: {r: 1, g: 0.95686275, b: 0.8392157, a: 1} + m_Color: {r: 0.6226415, g: 0.6226415, b: 0.6226415, a: 1} m_Intensity: 0.5 m_Range: 10 m_SpotAngle: 30 @@ -773,7 +786,7 @@ Transform: m_LocalScale: {x: 1, y: 1, z: 1} m_Children: [] m_Father: {fileID: 0} - m_RootOrder: 3 + m_RootOrder: 4 m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} --- !u!114 &2126814506 MonoBehaviour: diff --git a/Assets/Mirror/Examples/PlayerTest/PlayerTestScene/LightingData.asset b/Assets/Mirror/Examples/PlayerTest/PlayerTestScene/LightingData.asset new file mode 100644 index 000000000..d400b430a Binary files /dev/null and b/Assets/Mirror/Examples/PlayerTest/PlayerTestScene/LightingData.asset differ diff --git a/Assets/Mirror/Examples/PlayerTest/Terrain.prefab.meta b/Assets/Mirror/Examples/PlayerTest/PlayerTestScene/LightingData.asset.meta similarity index 52% rename from Assets/Mirror/Examples/PlayerTest/Terrain.prefab.meta rename to Assets/Mirror/Examples/PlayerTest/PlayerTestScene/LightingData.asset.meta index 070f3bdc8..7d41241c0 100644 --- a/Assets/Mirror/Examples/PlayerTest/Terrain.prefab.meta +++ b/Assets/Mirror/Examples/PlayerTest/PlayerTestScene/LightingData.asset.meta @@ -1,7 +1,8 @@ fileFormatVersion: 2 -guid: 8aa53535b8964fd4e985d4a620888b1d -PrefabImporter: +guid: 7dde303f10b9fde4fae4878d2c9f360f +NativeFormatImporter: externalObjects: {} + mainObjectFileID: 112000000 userData: assetBundleName: assetBundleVariant: diff --git a/Assets/Mirror/Examples/PlayerTest/PlayerTestScene/Lightmap-0_comp_dir.png b/Assets/Mirror/Examples/PlayerTest/PlayerTestScene/Lightmap-0_comp_dir.png new file mode 100644 index 000000000..188f177ff Binary files /dev/null and b/Assets/Mirror/Examples/PlayerTest/PlayerTestScene/Lightmap-0_comp_dir.png differ diff --git a/Assets/Mirror/Examples/PlayerTest/PlayerTestScene/Lightmap-0_comp_dir.png.meta b/Assets/Mirror/Examples/PlayerTest/PlayerTestScene/Lightmap-0_comp_dir.png.meta new file mode 100644 index 000000000..18b793e99 --- /dev/null +++ b/Assets/Mirror/Examples/PlayerTest/PlayerTestScene/Lightmap-0_comp_dir.png.meta @@ -0,0 +1,92 @@ +fileFormatVersion: 2 +guid: 8fc63c09833904841adc8a0e97465d58 +TextureImporter: + internalIDToNameTable: [] + externalObjects: {} + serializedVersion: 11 + mipmaps: + mipMapMode: 0 + enableMipMap: 1 + sRGBTexture: 0 + linearTexture: 0 + fadeOut: 0 + borderMipMap: 0 + mipMapsPreserveCoverage: 0 + alphaTestReferenceValue: 0.5 + mipMapFadeDistanceStart: 1 + mipMapFadeDistanceEnd: 3 + bumpmap: + convertToNormalMap: 0 + externalNormalMap: 0 + heightScale: 0.25 + normalMapFilter: 0 + isReadable: 0 + streamingMipmaps: 1 + streamingMipmapsPriority: 0 + grayScaleToAlpha: 0 + generateCubemap: 6 + cubemapConvolution: 0 + seamlessCubemap: 0 + textureFormat: 1 + maxTextureSize: 2048 + textureSettings: + serializedVersion: 2 + filterMode: 1 + aniso: 3 + mipBias: 0 + wrapU: 1 + wrapV: 1 + wrapW: 1 + nPOTScale: 1 + lightmap: 0 + compressionQuality: 50 + spriteMode: 0 + spriteExtrude: 1 + spriteMeshType: 1 + alignment: 0 + spritePivot: {x: 0.5, y: 0.5} + spritePixelsToUnits: 100 + spriteBorder: {x: 0, y: 0, z: 0, w: 0} + spriteGenerateFallbackPhysicsShape: 1 + alphaUsage: 1 + alphaIsTransparency: 0 + spriteTessellationDetail: -1 + textureType: 12 + textureShape: 1 + singleChannelComponent: 0 + maxTextureSizeSet: 0 + compressionQualitySet: 0 + textureFormatSet: 0 + applyGammaDecoding: 0 + platformSettings: + - serializedVersion: 3 + buildTarget: DefaultTexturePlatform + maxTextureSize: 2048 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 2 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + spriteSheet: + serializedVersion: 2 + sprites: [] + outline: [] + physicsShape: [] + bones: [] + spriteID: + internalID: 0 + vertices: [] + indices: + edges: [] + weights: [] + secondaryTextures: [] + spritePackingTag: + pSDRemoveMatte: 0 + pSDShowRemoveMatteOption: 0 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Mirror/Examples/PlayerTest/PlayerTestScene/Lightmap-0_comp_light.exr b/Assets/Mirror/Examples/PlayerTest/PlayerTestScene/Lightmap-0_comp_light.exr new file mode 100644 index 000000000..44890da95 Binary files /dev/null and b/Assets/Mirror/Examples/PlayerTest/PlayerTestScene/Lightmap-0_comp_light.exr differ diff --git a/Assets/Mirror/Examples/PlayerTest/PlayerTestScene/Lightmap-0_comp_light.exr.meta b/Assets/Mirror/Examples/PlayerTest/PlayerTestScene/Lightmap-0_comp_light.exr.meta new file mode 100644 index 000000000..22cf7eca6 --- /dev/null +++ b/Assets/Mirror/Examples/PlayerTest/PlayerTestScene/Lightmap-0_comp_light.exr.meta @@ -0,0 +1,92 @@ +fileFormatVersion: 2 +guid: ce1797143a1525f42bebcfe5398a5600 +TextureImporter: + internalIDToNameTable: [] + externalObjects: {} + serializedVersion: 11 + mipmaps: + mipMapMode: 0 + enableMipMap: 1 + sRGBTexture: 1 + linearTexture: 0 + fadeOut: 0 + borderMipMap: 0 + mipMapsPreserveCoverage: 0 + alphaTestReferenceValue: 0.5 + mipMapFadeDistanceStart: 1 + mipMapFadeDistanceEnd: 3 + bumpmap: + convertToNormalMap: 0 + externalNormalMap: 0 + heightScale: 0.25 + normalMapFilter: 0 + isReadable: 0 + streamingMipmaps: 1 + streamingMipmapsPriority: 0 + grayScaleToAlpha: 0 + generateCubemap: 6 + cubemapConvolution: 0 + seamlessCubemap: 0 + textureFormat: 1 + maxTextureSize: 2048 + textureSettings: + serializedVersion: 2 + filterMode: 1 + aniso: 3 + mipBias: 0 + wrapU: 1 + wrapV: 1 + wrapW: 1 + nPOTScale: 1 + lightmap: 0 + compressionQuality: 50 + spriteMode: 0 + spriteExtrude: 1 + spriteMeshType: 1 + alignment: 0 + spritePivot: {x: 0.5, y: 0.5} + spritePixelsToUnits: 100 + spriteBorder: {x: 0, y: 0, z: 0, w: 0} + spriteGenerateFallbackPhysicsShape: 1 + alphaUsage: 0 + alphaIsTransparency: 0 + spriteTessellationDetail: -1 + textureType: 6 + textureShape: 1 + singleChannelComponent: 0 + maxTextureSizeSet: 0 + compressionQualitySet: 0 + textureFormatSet: 0 + applyGammaDecoding: 0 + platformSettings: + - serializedVersion: 3 + buildTarget: DefaultTexturePlatform + maxTextureSize: 2048 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 2 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + spriteSheet: + serializedVersion: 2 + sprites: [] + outline: [] + physicsShape: [] + bones: [] + spriteID: + internalID: 0 + vertices: [] + indices: + edges: [] + weights: [] + secondaryTextures: [] + spritePackingTag: + pSDRemoveMatte: 0 + pSDShowRemoveMatteOption: 0 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Mirror/Examples/PlayerTest/PlayerTestScene/ReflectionProbe-0.exr b/Assets/Mirror/Examples/PlayerTest/PlayerTestScene/ReflectionProbe-0.exr new file mode 100644 index 000000000..73bac30ef Binary files /dev/null and b/Assets/Mirror/Examples/PlayerTest/PlayerTestScene/ReflectionProbe-0.exr differ diff --git a/Assets/Mirror/Examples/PlayerTest/PlayerTestScene/ReflectionProbe-0.exr.meta b/Assets/Mirror/Examples/PlayerTest/PlayerTestScene/ReflectionProbe-0.exr.meta new file mode 100644 index 000000000..a2ff27d11 --- /dev/null +++ b/Assets/Mirror/Examples/PlayerTest/PlayerTestScene/ReflectionProbe-0.exr.meta @@ -0,0 +1,92 @@ +fileFormatVersion: 2 +guid: e749e9604a0b46a4ca7a8fa5be0f18ad +TextureImporter: + internalIDToNameTable: [] + externalObjects: {} + serializedVersion: 11 + mipmaps: + mipMapMode: 0 + enableMipMap: 1 + sRGBTexture: 1 + linearTexture: 0 + fadeOut: 0 + borderMipMap: 0 + mipMapsPreserveCoverage: 0 + alphaTestReferenceValue: 0.5 + mipMapFadeDistanceStart: 1 + mipMapFadeDistanceEnd: 3 + bumpmap: + convertToNormalMap: 0 + externalNormalMap: 0 + heightScale: 0.25 + normalMapFilter: 0 + isReadable: 0 + streamingMipmaps: 0 + streamingMipmapsPriority: 0 + grayScaleToAlpha: 0 + generateCubemap: 6 + cubemapConvolution: 1 + seamlessCubemap: 1 + textureFormat: 1 + maxTextureSize: 2048 + textureSettings: + serializedVersion: 2 + filterMode: 2 + aniso: 0 + mipBias: 0 + wrapU: 1 + wrapV: 1 + wrapW: 1 + nPOTScale: 1 + lightmap: 0 + compressionQuality: 50 + spriteMode: 0 + spriteExtrude: 1 + spriteMeshType: 1 + alignment: 0 + spritePivot: {x: 0.5, y: 0.5} + spritePixelsToUnits: 100 + spriteBorder: {x: 0, y: 0, z: 0, w: 0} + spriteGenerateFallbackPhysicsShape: 1 + alphaUsage: 1 + alphaIsTransparency: 0 + spriteTessellationDetail: -1 + textureType: 0 + textureShape: 2 + singleChannelComponent: 0 + maxTextureSizeSet: 0 + compressionQualitySet: 0 + textureFormatSet: 0 + applyGammaDecoding: 0 + platformSettings: + - serializedVersion: 3 + buildTarget: DefaultTexturePlatform + maxTextureSize: 2048 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 100 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + spriteSheet: + serializedVersion: 2 + sprites: [] + outline: [] + physicsShape: [] + bones: [] + spriteID: + internalID: 0 + vertices: [] + indices: + edges: [] + weights: [] + secondaryTextures: [] + spritePackingTag: + pSDRemoveMatte: 0 + pSDShowRemoveMatteOption: 0 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Mirror/Examples/PlayerTest/PlayerTestScene/TerrainData.asset b/Assets/Mirror/Examples/PlayerTest/PlayerTestScene/TerrainData2019.asset similarity index 87% rename from Assets/Mirror/Examples/PlayerTest/PlayerTestScene/TerrainData.asset rename to Assets/Mirror/Examples/PlayerTest/PlayerTestScene/TerrainData2019.asset index fea19f80a..60b207106 100644 Binary files a/Assets/Mirror/Examples/PlayerTest/PlayerTestScene/TerrainData.asset and b/Assets/Mirror/Examples/PlayerTest/PlayerTestScene/TerrainData2019.asset differ diff --git a/Assets/Mirror/Examples/PlayerTest/PlayerTestScene/TerrainData.asset.meta b/Assets/Mirror/Examples/PlayerTest/PlayerTestScene/TerrainData2019.asset.meta similarity index 79% rename from Assets/Mirror/Examples/PlayerTest/PlayerTestScene/TerrainData.asset.meta rename to Assets/Mirror/Examples/PlayerTest/PlayerTestScene/TerrainData2019.asset.meta index fc6cd1e3e..dc500447d 100644 --- a/Assets/Mirror/Examples/PlayerTest/PlayerTestScene/TerrainData.asset.meta +++ b/Assets/Mirror/Examples/PlayerTest/PlayerTestScene/TerrainData2019.asset.meta @@ -1,5 +1,5 @@ fileFormatVersion: 2 -guid: 49ea6cc998ca79b449bff823dd956d4b +guid: 3a63939a39af1904d908274fdcd10fb6 NativeFormatImporter: externalObjects: {} mainObjectFileID: 15600000 diff --git a/Assets/Mirror/Examples/PlayerTest/PlayerTestScene/BaseLayer.terrainlayer b/Assets/Mirror/Examples/PlayerTest/PlayerTestScene/TerrainLayer2019.terrainlayer similarity index 96% rename from Assets/Mirror/Examples/PlayerTest/PlayerTestScene/BaseLayer.terrainlayer rename to Assets/Mirror/Examples/PlayerTest/PlayerTestScene/TerrainLayer2019.terrainlayer index 8e4c24ea5..0dae53868 100644 --- a/Assets/Mirror/Examples/PlayerTest/PlayerTestScene/BaseLayer.terrainlayer +++ b/Assets/Mirror/Examples/PlayerTest/PlayerTestScene/TerrainLayer2019.terrainlayer @@ -6,7 +6,7 @@ TerrainLayer: m_CorrespondingSourceObject: {fileID: 0} m_PrefabInstance: {fileID: 0} m_PrefabAsset: {fileID: 0} - m_Name: BaseLayer + m_Name: TerrainLayer2019 m_DiffuseTexture: {fileID: 10309, guid: 0000000000000000f000000000000000, type: 0} m_NormalMapTexture: {fileID: 0} m_MaskMapTexture: {fileID: 0} diff --git a/Assets/Mirror/Examples/PlayerTest/PlayerTestScene/BaseLayer.terrainlayer.meta b/Assets/Mirror/Examples/PlayerTest/PlayerTestScene/TerrainLayer2019.terrainlayer.meta similarity index 80% rename from Assets/Mirror/Examples/PlayerTest/PlayerTestScene/BaseLayer.terrainlayer.meta rename to Assets/Mirror/Examples/PlayerTest/PlayerTestScene/TerrainLayer2019.terrainlayer.meta index 6bdbfe3c0..91160b0c5 100644 --- a/Assets/Mirror/Examples/PlayerTest/PlayerTestScene/BaseLayer.terrainlayer.meta +++ b/Assets/Mirror/Examples/PlayerTest/PlayerTestScene/TerrainLayer2019.terrainlayer.meta @@ -1,5 +1,5 @@ fileFormatVersion: 2 -guid: b9a3a9701c10ec044b88f3590e246054 +guid: 626c6e9ff4b955443ae42a354ab1f38a NativeFormatImporter: externalObjects: {} mainObjectFileID: 8574412962073106934 diff --git a/Assets/Mirror/Examples/PlayerTest/Terrain.prefab b/Assets/Mirror/Examples/PlayerTest/Terrain.prefab deleted file mode 100644 index 0c5f9978a..000000000 --- a/Assets/Mirror/Examples/PlayerTest/Terrain.prefab +++ /dev/null @@ -1,80 +0,0 @@ -%YAML 1.1 -%TAG !u! tag:unity3d.com,2011: ---- !u!1 &7289113483685912227 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 7289113483685912224} - - component: {fileID: 7289113483685912225} - - component: {fileID: 7289113483685912226} - m_Layer: 0 - m_Name: Terrain - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 2147483647 - m_IsActive: 1 ---- !u!4 &7289113483685912224 -Transform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 7289113483685912227} - m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} - m_LocalPosition: {x: -500, y: 0, z: -500} - m_LocalScale: {x: 1, y: 1, z: 1} - m_ConstrainProportionsScale: 0 - m_Children: [] - m_Father: {fileID: 0} - m_RootOrder: 0 - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} ---- !u!218 &7289113483685912225 -Terrain: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 7289113483685912227} - m_Enabled: 1 - serializedVersion: 6 - m_TerrainData: {fileID: 15600000, guid: 49ea6cc998ca79b449bff823dd956d4b, type: 2} - m_TreeDistance: 5000 - m_TreeBillboardDistance: 50 - m_TreeCrossFadeLength: 5 - m_TreeMaximumFullLODCount: 50 - m_DetailObjectDistance: 80 - m_DetailObjectDensity: 1 - m_HeightmapPixelError: 5 - m_SplatMapDistance: 1000 - m_HeightmapMaximumLOD: 0 - m_ShadowCastingMode: 0 - m_DrawHeightmap: 1 - m_DrawInstanced: 0 - m_DrawTreesAndFoliage: 1 - m_StaticShadowCaster: 0 - m_ReflectionProbeUsage: 0 - m_MaterialTemplate: {fileID: 10652, guid: 0000000000000000f000000000000000, type: 0} - m_BakeLightProbesForTrees: 1 - m_PreserveTreePrototypeLayers: 0 - m_DeringLightProbesForTrees: 1 - m_ScaleInLightmap: 0.0256 - m_LightmapParameters: {fileID: 15203, guid: 0000000000000000f000000000000000, type: 0} - m_GroupingID: 0 - m_RenderingLayerMask: 1 - m_AllowAutoConnect: 1 ---- !u!154 &7289113483685912226 -TerrainCollider: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 7289113483685912227} - m_Material: {fileID: 0} - m_Enabled: 1 - m_TerrainData: {fileID: 15600000, guid: 49ea6cc998ca79b449bff823dd956d4b, type: 2} - m_EnableTreeColliders: 1