From ba3e30ce2cb8c3064fca22aa6deec64f42193232 Mon Sep 17 00:00:00 2001 From: runette Date: Mon, 13 May 2024 15:01:40 +0100 Subject: [PATCH] up date mapbox extensions --- MapBox Extension/MapBox.prefab | 24 ++-- MapBox Extension/RunetteTileMaterial.mat | 118 ++++++++++++++++++ MapBox Extension/RunetteTileMaterial.mat.meta | 8 ++ 3 files changed, 140 insertions(+), 10 deletions(-) create mode 100644 MapBox Extension/RunetteTileMaterial.mat create mode 100644 MapBox Extension/RunetteTileMaterial.mat.meta diff --git a/MapBox Extension/MapBox.prefab b/MapBox Extension/MapBox.prefab index df7094d..563869f 100644 --- a/MapBox Extension/MapBox.prefab +++ b/MapBox Extension/MapBox.prefab @@ -10,8 +10,8 @@ GameObject: m_Component: - component: {fileID: 1990124993885275007} - component: {fileID: 5109267013902329571} - - component: {fileID: 73034385894107229} - - component: {fileID: 2408530086993101736} + - component: {fileID: 2962786367238740224} + - component: {fileID: 7816367912018669946} m_Layer: 0 m_Name: MapBox m_TagString: Untagged @@ -46,7 +46,7 @@ MonoBehaviour: m_Script: {fileID: 11500000, guid: d5a57f767e5e46a458fc5d3c628d0cbb, type: 3} m_Name: m_EditorClassIdentifier: - GlobalObjectIdHash: 2585715188 + GlobalObjectIdHash: 3062351181 InScenePlacedSourceGlobalObjectIdHash: 0 AlwaysReplicateAsRoot: 0 SynchronizeTransform: 0 @@ -55,7 +55,7 @@ MonoBehaviour: SpawnWithObservers: 1 DontDestroyWithOwner: 0 AutoObjectParentSync: 1 ---- !u!114 &73034385894107229 +--- !u!114 &2962786367238740224 MonoBehaviour: m_ObjectHideFlags: 0 m_CorrespondingSourceObject: {fileID: 0} @@ -64,10 +64,14 @@ MonoBehaviour: m_GameObject: {fileID: 1984790883259022569} m_Enabled: 1 m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: b528e807d16db7b4a958ce71d15978be, type: 3} + m_Script: {fileID: 11500000, guid: 108d18c9bfd6e924ab7b9faeaffe5a01, type: 3} m_Name: m_EditorClassIdentifier: ---- !u!114 &2408530086993101736 + m_Editable: + m_InternalValue: 0 + m_SubLayersCount: + m_InternalValue: 0 +--- !u!114 &7816367912018669946 MonoBehaviour: m_ObjectHideFlags: 0 m_CorrespondingSourceObject: {fileID: 0} @@ -76,7 +80,7 @@ MonoBehaviour: m_GameObject: {fileID: 1984790883259022569} m_Enabled: 1 m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: e98dffe3a7f92f64ca5bbd453b0c4626, type: 3} + m_Script: {fileID: 11500000, guid: 34041eb43a44fa44195af04bd19b3c42, type: 3} m_Name: m_EditorClassIdentifier: _options: @@ -107,7 +111,7 @@ MonoBehaviour: unityTileSize: 100 loadingTexture: {fileID: 0} tileMaterial: {fileID: 0} - _initializeOnStart: 0 + _initializeOnStart: 1 _imagery: _layerProperty: sourceType: 0 @@ -139,8 +143,8 @@ MonoBehaviour: addCollider: 0 modificationOptions: sampleCount: 10 - useRelativeHeight: 1 - earthRadius: 6000 + useRelativeHeight: 0 + earthRadius: 1000 unityLayerOptions: addToLayer: 0 layerId: 0 diff --git a/MapBox Extension/RunetteTileMaterial.mat b/MapBox Extension/RunetteTileMaterial.mat new file mode 100644 index 0000000..6870f25 --- /dev/null +++ b/MapBox Extension/RunetteTileMaterial.mat @@ -0,0 +1,118 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!114 &-4922639530920617971 +MonoBehaviour: + m_ObjectHideFlags: 11 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 0} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: d0353a89b1f911e48b9e16bdc9f2e058, type: 3} + m_Name: + m_EditorClassIdentifier: + version: 9 +--- !u!21 &2100000 +Material: + serializedVersion: 8 + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_Name: RunetteTileMaterial + m_Shader: {fileID: 4800000, guid: 4cff8ad2a7f4c41aa929f127a4b62f87, type: 3} + m_Parent: {fileID: 0} + m_ModifiedSerializedProperties: 0 + m_ValidKeywords: [] + m_InvalidKeywords: + - _RECEIVE_SHADOWS_OFF + m_LightmapFlags: 1 + m_EnableInstancingVariants: 0 + m_DoubleSidedGI: 1 + m_CustomRenderQueue: -1 + stringTagMap: {} + disabledShaderPasses: + - SHADOWCASTER + - MOTIONVECTORS + m_LockedProperties: + m_SavedProperties: + serializedVersion: 3 + m_TexEnvs: + - _BaseMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _BumpMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _EmissionMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _MainTex: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _MetallicGlossMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _OcclusionMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _SpecGlossMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - unity_Lightmaps: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - unity_LightmapsInd: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - unity_ShadowMasks: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + m_Ints: [] + m_Floats: + - _Alpha: 1 + - _AlphaClip: 0 + - _AlphaToMask: 0 + - _Blend: 0 + - _BlendModePreserveSpecular: 0 + - _BumpScale: 1 + - _CastShadows: 0 + - _Cull: 0 + - _Cutoff: 0.5 + - _DstBlend: 0 + - _EnvironmentReflections: 1 + - _GlossMapScale: 0 + - _Glossiness: 0 + - _GlossyReflections: 0 + - _Metallic: 0 + - _OcclusionStrength: 1 + - _QueueControl: 0 + - _QueueOffset: 0 + - _ReceiveShadows: 0 + - _Smoothness: 0.5 + - _SmoothnessTextureChannel: 0 + - _SpecularHighlights: 1 + - _SrcBlend: 1 + - _Surface: 0 + - _WorkflowMode: 1 + - _ZTest: 4 + - _ZWrite: 1 + - _ZWriteControl: 0 + m_Colors: + - _BaseColor: {r: 0.5, g: 0.5, b: 0.5, a: 1} + - _Color: {r: 0.5, g: 0.5, b: 0.5, a: 1} + - _EmissionColor: {r: 0, g: 0, b: 0, a: 1} + - _SpecColor: {r: 0.2, g: 0.2, b: 0.2, a: 1} + m_BuildTextureStacks: [] + m_AllowLocking: 1 diff --git a/MapBox Extension/RunetteTileMaterial.mat.meta b/MapBox Extension/RunetteTileMaterial.mat.meta new file mode 100644 index 0000000..71c447d --- /dev/null +++ b/MapBox Extension/RunetteTileMaterial.mat.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 22a166397bd80c942b6ed80de5890785 +NativeFormatImporter: + externalObjects: {} + mainObjectFileID: 2100000 + userData: + assetBundleName: + assetBundleVariant: