浏览代码

Switched terrain to mesh

Added LODTweaker to change lod on secondary cameras
/main
Andre McGrail 7 年前
当前提交
abc17eb2
共有 10 个文件被更改,包括 2332 次插入160 次删除
  1. 337
      Assets/scenes/Island.unity
  2. 6
      Assets/scenes/Island_Profiles/PostVolumeGlobal Profile.asset
  3. 8
      Assets/Objects/environment/Terrain.meta
  4. 26
      Assets/Scripts/Camera/LODTweaker.cs
  5. 11
      Assets/Scripts/Camera/LODTweaker.cs.meta
  6. 1001
      Assets/scenes/Island_terrain.unity
  7. 7
      Assets/scenes/Island_terrain.unity.meta
  8. 1001
      Assets/Objects/environment/Terrain/terrain_opti.OBJ
  9. 95
      Assets/Objects/environment/Terrain/terrain_opti.OBJ.meta

337
Assets/scenes/Island.unity


m_PVRFilteringAtrousPositionSigmaDirect: 0.5
m_PVRFilteringAtrousPositionSigmaIndirect: 2
m_PVRFilteringAtrousPositionSigmaAO: 1
m_ShowResolutionOverlay: 0
m_ShowResolutionOverlay: 1
m_LightingDataAsset: {fileID: 112000002, guid: 768278eaca0f445a294b953715ed22b1,
type: 2}
m_UseShadowmask: 0

m_Priority: 15
m_LookAt: {fileID: 1940308779}
m_Follow: {fileID: 1940308779}
m_PositionBlending: 0
m_Lens:
FieldOfView: 60
OrthographicSize: 10

m_PrefabParentObject: {fileID: 4399280993250454, guid: be36e371a7591423cb1be8059576848f,
type: 2}
m_PrefabInternal: {fileID: 353918098}
--- !u!1001 &355399363
Prefab:
m_ObjectHideFlags: 0
serializedVersion: 2
m_Modification:
m_TransformParent: {fileID: 1621733248}
m_Modifications:
- target: {fileID: 400002, guid: fec170bd576e1455bb8823a0d223d031, type: 3}
propertyPath: m_LocalPosition.x
value: -0
objectReference: {fileID: 0}
- target: {fileID: 400002, guid: fec170bd576e1455bb8823a0d223d031, type: 3}
propertyPath: m_LocalPosition.y
value: -50
objectReference: {fileID: 0}
- target: {fileID: 400002, guid: fec170bd576e1455bb8823a0d223d031, type: 3}
propertyPath: m_LocalPosition.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 400002, guid: fec170bd576e1455bb8823a0d223d031, type: 3}
propertyPath: m_LocalRotation.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 400002, guid: fec170bd576e1455bb8823a0d223d031, type: 3}
propertyPath: m_LocalRotation.y
value: -0
objectReference: {fileID: 0}
- target: {fileID: 400002, guid: fec170bd576e1455bb8823a0d223d031, type: 3}
propertyPath: m_LocalRotation.z
value: -0
objectReference: {fileID: 0}
- target: {fileID: 400002, guid: fec170bd576e1455bb8823a0d223d031, type: 3}
propertyPath: m_LocalRotation.w
value: 1
objectReference: {fileID: 0}
- target: {fileID: 400002, guid: fec170bd576e1455bb8823a0d223d031, type: 3}
propertyPath: m_RootOrder
value: 1
objectReference: {fileID: 0}
- target: {fileID: 100000, guid: fec170bd576e1455bb8823a0d223d031, type: 3}
propertyPath: m_StaticEditorFlags
value: 4294967295
objectReference: {fileID: 0}
- target: {fileID: 2300000, guid: fec170bd576e1455bb8823a0d223d031, type: 3}
propertyPath: m_ScaleInLightmap
value: 0.1
objectReference: {fileID: 0}
- target: {fileID: 100000, guid: fec170bd576e1455bb8823a0d223d031, type: 3}
propertyPath: m_Layer
value: 10
objectReference: {fileID: 0}
m_RemovedComponents: []
m_ParentPrefab: {fileID: 100100000, guid: fec170bd576e1455bb8823a0d223d031, type: 3}
m_IsPrefabParent: 0
--- !u!4 &355399364 stripped
Transform:
m_PrefabParentObject: {fileID: 400002, guid: fec170bd576e1455bb8823a0d223d031, type: 3}
m_PrefabInternal: {fileID: 355399363}
--- !u!1001 &356233110
Prefab:
m_ObjectHideFlags: 0

m_TrackedObjectOffset: {x: 0, y: 0, z: 0}
m_LookaheadTime: 0
m_LookaheadSmoothing: 10
m_LookaheadIgnoreY: 0
m_HorizontalDamping: 0.5
m_VerticalDamping: 0.5
m_ScreenX: 0.5

m_DefaultBlend:
m_Style: 0
m_Time: 0
m_CustomCurve:
serializedVersion: 2
m_Curve: []
m_PreInfinity: 2
m_PostInfinity: 2
m_RotationOrder: 4
m_CustomBlends: {fileID: 0}
--- !u!1 &625966147
GameObject:

m_TrackedObjectOffset: {x: 0, y: 0.27, z: 0}
m_LookaheadTime: 0.256
m_LookaheadSmoothing: 10.2
m_LookaheadIgnoreY: 0
m_HorizontalDamping: 0.5
m_VerticalDamping: 0.5
m_ScreenX: 0.504

renderers:
- renderer: {fileID: 674103282}
m_Enabled: 1
--- !u!28 &772742405
Texture2D:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_Name:
m_ImageContentsHash:
serializedVersion: 2
Hash: 00000000000000000000000000000000
m_ForcedFallbackFormat: 4
m_DownscaleFallback: 0
serializedVersion: 2
m_Width: 128
m_Height: 2
m_CompleteImageSize: 1024
m_TextureFormat: 5
m_MipCount: 1
m_IsReadable: 1
m_AlphaIsTransparency: 0
m_ImageCount: 1
m_TextureDimension: 2
m_TextureSettings:
serializedVersion: 2
m_FilterMode: 1
m_Aniso: 1
m_MipBias: 0
m_WrapU: 1
m_WrapV: 1
m_WrapW: 1
m_LightmapFormat: 0
m_ColorSpace: 1
image data: 1024
_typelessdata: ffbcb696ffa3b08eff8aa987ff7ea685ff7aa587ff75a488ff70a48aff6ca38bff67a38dff62a28eff5ea18fff59a191ff55a092ff50a094ff4b9f95ff479f97ff429e98ff3d9d99ff399d9bff359c9cff349b9bff339b9aff329a9aff319999ff2f9898ff2e9898ff2d9797ff2c9697ff2b9596ff2a9495ff289495ff279394ff269294ff259193ff249192ff229092ff218f91ff208e91ff1f8e90ff1e8d8fff1c8c8fff1b8b8eff1a8b8dff198a8dff18898cff17888cff15888bff14878aff13868aff128589ff118489ff0f8488ff0e8387ff0d8287ff0c8186ff0b8186ff098085ff087f84ff077e84ff067e83ff057d82ff047c82ff027b81ff017b81ff007a80ff007980ff00787fff00777fff00767eff00757eff00747eff00747dff00737dff00727dff00717cff00707cff006f7bff006e7bff006d7bff006c7aff006b7aff006b79ff006a79ff006979ff006878ff006778ff006678ff006577ff006477ff006376ff006376ff006276ff006175ff006075ff005f74ff005e74ff005d74ff005c73ff005b73ff005a73ff005a72ff005972ff005871ff005771ff005671ff005570ff005470ff005370ff00526fff00526fff00516eff00506eff004f6eff004e6dff004d6dff004c6cff004b6cff004a6cff00496bff00496bff00486bff00476aff00466aff004569ff004469ff004369ff004268ff004168ff000000ff010201ff030302ff040503ff060604ff070805ff090906ff0a0b07ff0c0c08ff0d0e09ff0f0f0aff10110bff12130cff13140dff15160eff16170fff181910ff191a11ff1b1c11ff1c1d12ff1e1f13ff1f2114ff212215ff222416ff242517ff252718ff262819ff282a1aff292b1bff2b2d1cff2c2e1dff2e301eff2e311fff2e3220ff2e3221ff2e3322ff2e3423ff2e3424ff2e3525ff2e3626ff2e3727ff2e3728ff2e3829ff2e392aff2e3a2bff2e3a2dff2e3b2eff2e3c2fff2e3d30ff2e3d31ff2e3e32ff2e3f33ff2e4034ff2e4035ff2e4136ff2e4237ff2e4338ff2e4339ff2e443aff2e453bff2e453cff2e463dff2e473eff2e483fff2e4840ff2e4941ff2e4a42ff2e4b43ff2e4b44ff2d4c45ff2d4d46ff2d4e47ff2d4e48ff2d4f49ff2d504aff2d514bff2d514cff2d524dff2d534eff2d544fff2d5451ff2d5552ff2d5653ff2d5654ff2d5755ff2d5856ff2d5957ff2d5958ff2d5a59ff2d5b5aff2d5c5bff2d5c5cff2d5d5dff2d5e5eff2d5f5fff2d5f60ff2d6061ff2d6162ff2d6263ff2d6264ff2d6365ff2d6466ff2d6567ff2d6568ff2d6669ff2d676aff2d676bff2d686cff2d696dff2d6a6eff2d6a6fff2d6b70ff2d6c71ff2d6d72ff2d6d74ff2d6e75ff2d6f76ff2d7077ff2d7078ff2d7179ff2d727aff2d737bff2d737cff2d747dff2d757eff2d767fff2d7680ff2d7781
m_StreamData:
offset: 0
size: 0
path:
--- !u!1 &774876917
GameObject:
m_ObjectHideFlags: 0

- component: {fileID: 1017609895}
- component: {fileID: 1017609899}
- component: {fileID: 1017609903}
- component: {fileID: 1017609900}
m_Layer: 0
m_Name: Main Camera
m_TagString: MainCamera

m_BeforeTransparentBundles: []
m_BeforeStackBundles: []
m_AfterStackBundles: []
--- !u!114 &1017609900
MonoBehaviour:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_GameObject: {fileID: 1017609894}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 8f298356512114623ab427c6707d5eae, type: 3}
m_Name:
m_EditorClassIdentifier:
--- !u!114 &1017609903
MonoBehaviour:
m_ObjectHideFlags: 0

m_DefaultBlend:
m_Style: 0
m_Time: 2
m_CustomCurve:
serializedVersion: 2
m_Curve: []
m_PreInfinity: 2
m_PostInfinity: 2
m_RotationOrder: 4
m_TypeName: Cinemachine.CinemachineBrain+BrainEvent, Assembly-CSharp, Version=0.0.0.0,
m_TypeName: Cinemachine.CinemachineBrain+BrainEvent, Cinemachine, Version=0.0.0.0,
m_TypeName: Cinemachine.CinemachineBrain+VcamEvent, Assembly-CSharp, Version=0.0.0.0,
m_TypeName: Cinemachine.CinemachineBrain+VcamEvent, Cinemachine, Version=0.0.0.0,
Culture=neutral, PublicKeyToken=null
--- !u!1001 &1017823965
Prefab:

m_Script: {fileID: 11500000, guid: 729aad4491e915a41bda2b8325cf757a, type: 3}
m_Name:
m_EditorClassIdentifier:
m_FocusTracksTarget: 0
m_FocusOffset: 0
m_Profile: {fileID: 11400000, guid: 5111f29bef9694f969f378c793a460f1, type: 2}
--- !u!95 &1074541167
Animator:
serializedVersion: 3

m_DefaultBlend:
m_Style: 0
m_Time: 0.5
m_CustomCurve:
serializedVersion: 2
m_Curve: []
m_PreInfinity: 2
m_PostInfinity: 2
m_RotationOrder: 4
m_CustomBlends: {fileID: 0}
m_ParentHash:
- m_Hash: -1501578903

m_TrackedObjectOffset: {x: 0, y: 0, z: 1.99}
m_LookaheadTime: 0.25
m_LookaheadSmoothing: 10
m_LookaheadIgnoreY: 0
m_HorizontalDamping: 0.5
m_VerticalDamping: 0.5
m_ScreenX: 0.484

m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_GameObject: {fileID: 1143740434}
m_LocalRotation: {x: 0.0026811773, y: 0.9423992, z: 0.0075565423, w: -0.33439422}
m_LocalRotation: {x: -0.00040576197, y: 0.9450544, z: -0.0011726385, w: -0.32691076}
m_LocalPosition: {x: 42, y: 2.51, z: 62.1}
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children:

m_Priority: 15
m_LookAt: {fileID: 0}
m_Follow: {fileID: 0}
m_PositionBlending: 0
m_Lens:
FieldOfView: 36.7
OrthographicSize: 10

m_PrefabParentObject: {fileID: 4759700577955508, guid: 851454441f29b4ab9a78308458eafccb,
type: 2}
m_PrefabInternal: {fileID: 1247515574}
--- !u!28 &1248169288
Texture2D:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_Name:
m_ImageContentsHash:
serializedVersion: 2
Hash: 00000000000000000000000000000000
m_ForcedFallbackFormat: 4
m_DownscaleFallback: 0
serializedVersion: 2
m_Width: 128
m_Height: 1
m_CompleteImageSize: 512
m_TextureFormat: 5
m_MipCount: 1
m_IsReadable: 1
m_AlphaIsTransparency: 0
m_ImageCount: 1
m_TextureDimension: 2
m_TextureSettings:
serializedVersion: 2
m_FilterMode: 1
m_Aniso: 1
m_MipBias: 0
m_WrapU: 1
m_WrapV: 1
m_WrapW: 1
m_LightmapFormat: 0
m_ColorSpace: 1
image data: 512
_typelessdata: ff000000ff000001ff000002ff000003ff000003ff000004ff000005ff000006ff000007ff000008ff000009ff00000aff00000aff00000bff00000cff00000dff00000eff00000fff000010ff000011ff000011ff000012ff000013ff000014ff000015ff000016ff000017ff00001eff000026ff00002eff000036ff00003dff000045ff00004dff000054ff00005cff000064ff00006cff000073ff00007bff000083ff00008bff000092ff00009aff0000a2ff0000a9ff0000b1ff0000b9ff0000c1ff0000c8ff0000d0ff0000d8ff0000dfff0000e7ff0000efff0000f7ff0000feff0007faff000ef5ff0016f0ff001debff0025e6ff002ce1ff0034dbff003bd6ff0043d1ff004bccff0052c7ff005ac2ff0061bcff0069b7ff0070b2ff0078adff007fa8ff0087a3ff008e9eff009698ff009d93ff00a58eff00ac89ff00b484ff00bb7fff00c379ff00ca74ff00d26fff00da6aff00e165ff00e960ff00f05bff00f855ff00ff50ff07fc4eff0ef94cff14f64aff1bf348ff22f046ff28ed44ff2fea41ff36e73fff3de33dff43e03bff4add39ff51da37ff57d735ff5ed433ff65d131ff6bce2eff72cb2cff79c82aff80c528ff86c226ff8dbf24ff94bc22ff9ab920ffa1b61effa8b31bffafb019ffb5ad17ffbca915ffc3a613ffc9a311ffd0a00fffd79d0dffdd9a0bffe49708ffeb9406fff29104fff88e02
m_StreamData:
offset: 0
size: 0
path:
--- !u!1001 &1249898021
Prefab:
m_ObjectHideFlags: 0

m_Priority: 10
m_LookAt: {fileID: 0}
m_Follow: {fileID: 0}
m_PositionBlending: 0
m_Lens:
FieldOfView: 100
OrthographicSize: 10

m_Script: {fileID: 11500000, guid: 301a6cf3893eb4e2b9a5de3e341ac44b, type: 3}
m_Name:
m_EditorClassIdentifier:
m_ResolutionMultiplier: 0.5
m_ResolutionMultiplier: 0.25
m_ClipPlaneOffset: 0
m_ReflectLayers:
serializedVersion: 2

m_Name:
m_EditorClassIdentifier:
_waterMaxDepth: 20
_colorRamp: {fileID: 772742405}
_colorRamp: {fileID: 1461368506}
_absorptionRampRaw:
serializedVersion: 2
key0: {r: 0.735849, g: 0.7154964, b: 0.5865966, a: 1}

m_Mode: 0
m_NumColorKeys: 3
m_NumAlphaKeys: 2
_foamRamp: {fileID: 1248169288}
_foamRamp: {fileID: 2042548223}
_foamRampRaw:
serializedVersion: 2
key0: {r: 0, g: 0, b: 0, a: 1}

m_PrefabParentObject: {fileID: 4922975954009704, guid: 52eb3b84afe4d4a46858f682417f8ba4,
type: 2}
m_PrefabInternal: {fileID: 1457646583}
--- !u!28 &1461368506
Texture2D:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_Name:
m_ImageContentsHash:
serializedVersion: 2
Hash: 00000000000000000000000000000000
m_ForcedFallbackFormat: 4
m_DownscaleFallback: 0
serializedVersion: 2
m_Width: 128
m_Height: 2
m_CompleteImageSize: 1024
m_TextureFormat: 5
m_MipCount: 1
m_IsReadable: 1
m_AlphaIsTransparency: 0
m_ImageCount: 1
m_TextureDimension: 2
m_TextureSettings:
serializedVersion: 2
m_FilterMode: 1
m_Aniso: 1
m_MipBias: 0
m_WrapU: 1
m_WrapV: 1
m_WrapW: 1
m_LightmapFormat: 0
m_ColorSpace: 1
image data: 1024
_typelessdata: ffbcb696ffa3b08eff8aa987ff7ea685ff7aa587ff75a488ff70a48aff6ca38bff67a38dff62a28eff5ea18fff59a191ff55a092ff50a094ff4b9f95ff479f97ff429e98ff3d9d99ff399d9bff359c9cff349b9bff339b9aff329a9aff319999ff2f9898ff2e9898ff2d9797ff2c9697ff2b9596ff2a9495ff289495ff279394ff269294ff259193ff249192ff229092ff218f91ff208e91ff1f8e90ff1e8d8fff1c8c8fff1b8b8eff1a8b8dff198a8dff18898cff17888cff15888bff14878aff13868aff128589ff118489ff0f8488ff0e8387ff0d8287ff0c8186ff0b8186ff098085ff087f84ff077e84ff067e83ff057d82ff047c82ff027b81ff017b81ff007a80ff007980ff00787fff00777fff00767eff00757eff00747eff00747dff00737dff00727dff00717cff00707cff006f7bff006e7bff006d7bff006c7aff006b7aff006b79ff006a79ff006979ff006878ff006778ff006678ff006577ff006477ff006376ff006376ff006276ff006175ff006075ff005f74ff005e74ff005d74ff005c73ff005b73ff005a73ff005a72ff005972ff005871ff005771ff005671ff005570ff005470ff005370ff00526fff00526fff00516eff00506eff004f6eff004e6dff004d6dff004c6cff004b6cff004a6cff00496bff00496bff00486bff00476aff00466aff004569ff004469ff004369ff004268ff004168ff000000ff010201ff030302ff040503ff060604ff070805ff090906ff0a0b07ff0c0c08ff0d0e09ff0f0f0aff10110bff12130cff13140dff15160eff16170fff181910ff191a11ff1b1c11ff1c1d12ff1e1f13ff1f2114ff212215ff222416ff242517ff252718ff262819ff282a1aff292b1bff2b2d1cff2c2e1dff2e301eff2e311fff2e3220ff2e3221ff2e3322ff2e3423ff2e3424ff2e3525ff2e3626ff2e3727ff2e3728ff2e3829ff2e392aff2e3a2bff2e3a2dff2e3b2eff2e3c2fff2e3d30ff2e3d31ff2e3e32ff2e3f33ff2e4034ff2e4035ff2e4136ff2e4237ff2e4338ff2e4339ff2e443aff2e453bff2e453cff2e463dff2e473eff2e483fff2e4840ff2e4941ff2e4a42ff2e4b43ff2e4b44ff2d4c45ff2d4d46ff2d4e47ff2d4e48ff2d4f49ff2d504aff2d514bff2d514cff2d524dff2d534eff2d544fff2d5451ff2d5552ff2d5653ff2d5654ff2d5755ff2d5856ff2d5957ff2d5958ff2d5a59ff2d5b5aff2d5c5bff2d5c5cff2d5d5dff2d5e5eff2d5f5fff2d5f60ff2d6061ff2d6162ff2d6263ff2d6264ff2d6365ff2d6466ff2d6567ff2d6568ff2d6669ff2d676aff2d676bff2d686cff2d696dff2d6a6eff2d6a6fff2d6b70ff2d6c71ff2d6d72ff2d6d74ff2d6e75ff2d6f76ff2d7077ff2d7078ff2d7179ff2d727aff2d737bff2d737cff2d747dff2d757eff2d767fff2d7680ff2d7781
m_StreamData:
offset: 0
size: 0
path:
--- !u!1 &1461828481
GameObject:
m_ObjectHideFlags: 0

m_TrackedObjectOffset: {x: 0, y: 0, z: -10}
m_LookaheadTime: 0
m_LookaheadSmoothing: 10
m_LookaheadIgnoreY: 0
m_HorizontalDamping: 0
m_VerticalDamping: 0
m_ScreenX: 0.5

m_LocalScale: {x: 1, y: 1, z: 1}
m_Children:
- {fileID: 1174372660}
- {fileID: 2118583902}
- {fileID: 355399364}
- {fileID: 13342340}
- {fileID: 820027663}
- {fileID: 1526800901}

m_Priority: 15
m_LookAt: {fileID: 0}
m_Follow: {fileID: 0}
m_PositionBlending: 0
m_Lens:
FieldOfView: 40
OrthographicSize: 10

m_Priority: 10
m_LookAt: {fileID: 0}
m_Follow: {fileID: 0}
m_PositionBlending: 0
m_Lens:
FieldOfView: 100
OrthographicSize: 10

m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 0
m_IsActive: 1
--- !u!4 &2000539158
Transform:
m_ObjectHideFlags: 0

m_Father: {fileID: 2000539158}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!28 &2042548223
Texture2D:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_Name:
m_ImageContentsHash:
serializedVersion: 2
Hash: 00000000000000000000000000000000
m_ForcedFallbackFormat: 4
m_DownscaleFallback: 0
serializedVersion: 2
m_Width: 128
m_Height: 1
m_CompleteImageSize: 512
m_TextureFormat: 5
m_MipCount: 1
m_IsReadable: 1
m_AlphaIsTransparency: 0
m_ImageCount: 1
m_TextureDimension: 2
m_TextureSettings:
serializedVersion: 2
m_FilterMode: 1
m_Aniso: 1
m_MipBias: 0
m_WrapU: 1
m_WrapV: 1
m_WrapW: 1
m_LightmapFormat: 0
m_ColorSpace: 1
image data: 512
_typelessdata: ff000000ff000001ff000002ff000003ff000003ff000004ff000005ff000006ff000007ff000008ff000009ff00000aff00000aff00000bff00000cff00000dff00000eff00000fff000010ff000011ff000011ff000012ff000013ff000014ff000015ff000016ff000017ff00001eff000026ff00002eff000036ff00003dff000045ff00004dff000054ff00005cff000064ff00006cff000073ff00007bff000083ff00008bff000092ff00009aff0000a2ff0000a9ff0000b1ff0000b9ff0000c1ff0000c8ff0000d0ff0000d8ff0000dfff0000e7ff0000efff0000f7ff0000feff0007faff000ef5ff0016f0ff001debff0025e6ff002ce1ff0034dbff003bd6ff0043d1ff004bccff0052c7ff005ac2ff0061bcff0069b7ff0070b2ff0078adff007fa8ff0087a3ff008e9eff009698ff009d93ff00a58eff00ac89ff00b484ff00bb7fff00c379ff00ca74ff00d26fff00da6aff00e165ff00e960ff00f05bff00f855ff00ff50ff07fc4eff0ef94cff14f64aff1bf348ff22f046ff28ed44ff2fea41ff36e73fff3de33dff43e03bff4add39ff51da37ff57d735ff5ed433ff65d131ff6bce2eff72cb2cff79c82aff80c528ff86c226ff8dbf24ff94bc22ff9ab920ffa1b61effa8b31bffafb019ffb5ad17ffbca915ffc3a613ffc9a311ffd0a00fffd79d0dffdd9a0bffe49708ffeb9406fff29104fff88e02
m_StreamData:
offset: 0
size: 0
path:
--- !u!1 &2044836136
GameObject:
m_ObjectHideFlags: 0

- {fileID: 1779064607}
m_Father: {fileID: 820027663}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!1 &2118583899
GameObject:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
serializedVersion: 5
m_Component:
- component: {fileID: 2118583902}
- component: {fileID: 2118583901}
- component: {fileID: 2118583900}
m_Layer: 10
m_Name: Terrain
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 125
m_IsActive: 1
--- !u!154 &2118583900
TerrainCollider:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_GameObject: {fileID: 2118583899}
m_Material: {fileID: 0}
m_Enabled: 1
m_TerrainData: {fileID: 15600000, guid: f46269ea1099c4fb4bc7191f76fcfab3, type: 2}
m_EnableTreeColliders: 1
--- !u!218 &2118583901
Terrain:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_GameObject: {fileID: 2118583899}
m_Enabled: 1
serializedVersion: 3
m_TerrainData: {fileID: 15600000, guid: f46269ea1099c4fb4bc7191f76fcfab3, type: 2}
m_TreeDistance: 2000
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_CastShadows: 1
m_DrawHeightmap: 1
m_DrawTreesAndFoliage: 0
m_ReflectionProbeUsage: 3
m_MaterialType: 3
m_LegacySpecular:
serializedVersion: 2
rgba: 4286545791
m_LegacyShininess: 0.078125
m_MaterialTemplate: {fileID: 2100000, guid: 0d1e145a2572d4de9af08eba6d070b74, type: 2}
m_BakeLightProbesForTrees: 1
m_ScaleInLightmap: 0.1
m_LightmapParameters: {fileID: 15203, guid: 0000000000000000f000000000000000, type: 0}
--- !u!4 &2118583902
Transform:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_GameObject: {fileID: 2118583899}
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
m_LocalPosition: {x: -500, y: -50, z: -250}
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children: []
m_Father: {fileID: 1621733248}
m_RootOrder: 1
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!1001 &2119595624
Prefab:

6
Assets/scenes/Island_Profiles/PostVolumeGlobal Profile.asset


value: 100
lift:
overrideState: 1
value: {x: 1, y: 0.97311914, z: 0.99625427, w: 0.03524229}
value: {x: 0.9609579, y: 0.9909525, z: 1, w: -0.026431717}
value: {x: 0.7231998, y: 1, z: 0.904135, w: 0.14096917}
value: {x: 1, y: 0.91323954, z: 0.8510033, w: 0.14977974}
value: {x: 1, y: 0.7163983, z: 0.6697438, w: 0.008810583}
value: {x: 0.92347467, y: 0.93918395, z: 1, w: 0.09691631}
masterCurve:
overrideState: 0
value:

8
Assets/Objects/environment/Terrain.meta


fileFormatVersion: 2
guid: 4e21a29aca87e4a9189ef35439762546
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

26
Assets/Scripts/Camera/LODTweaker.cs


using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Experimental.Rendering.LightweightPipeline;
public class LODTweaker : MonoBehaviour {
void SetMaxLOD(Camera cam)
{
if(cam == Camera.main)
QualitySettings.maximumLODLevel = 0;
else
QualitySettings.maximumLODLevel = 2;
}
void OnEnable()
{
LightweightPipeline.beginCameraRendering += SetMaxLOD;
}
void OnDisable()
{
LightweightPipeline.beginCameraRendering -= SetMaxLOD;
}
}

11
Assets/Scripts/Camera/LODTweaker.cs.meta


fileFormatVersion: 2
guid: 8f298356512114623ab427c6707d5eae
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

1001
Assets/scenes/Island_terrain.unity
文件差异内容过多而无法显示
查看文件

7
Assets/scenes/Island_terrain.unity.meta


fileFormatVersion: 2
guid: 54dac8ccd670e4e75929552e0ff014a9
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

1001
Assets/Objects/environment/Terrain/terrain_opti.OBJ
文件差异内容过多而无法显示
查看文件

95
Assets/Objects/environment/Terrain/terrain_opti.OBJ.meta


fileFormatVersion: 2
guid: fec170bd576e1455bb8823a0d223d031
ModelImporter:
serializedVersion: 22
fileIDToRecycleName:
100000: Group11579
100002: //RootNode
400000: Group11579
400002: //RootNode
2100000: Group11579Mat
2300000: Group11579
3300000: Group11579
4300000: Group11579
2186277476908879412: ImportLogs
externalObjects: {}
materials:
importMaterials: 1
materialName: 0
materialSearch: 1
materialLocation: 1
animations:
legacyGenerateAnimations: 4
bakeSimulation: 0
resampleCurves: 1
optimizeGameObjects: 0
motionNodeName:
rigImportErrors:
rigImportWarnings:
animationImportErrors:
animationImportWarnings:
animationRetargetingWarnings:
animationDoRetargetingWarnings: 0
importAnimatedCustomProperties: 0
importConstraints: 0
animationCompression: 1
animationRotationError: 0.5
animationPositionError: 0.5
animationScaleError: 0.5
animationWrapMode: 0
extraExposedTransformPaths: []
extraUserProperties: []
clipAnimations: []
isReadable: 1
meshes:
lODScreenPercentages: []
globalScale: 100
meshCompression: 0
addColliders: 0
importVisibility: 1
importBlendShapes: 1
importCameras: 1
importLights: 1
swapUVChannels: 0
generateSecondaryUV: 0
useFileUnits: 1
optimizeMeshForGPU: 1
keepQuads: 0
weldVertices: 1
preserveHierarchy: 0
indexFormat: 0
secondaryUVAngleDistortion: 8
secondaryUVAreaDistortion: 15.000001
secondaryUVHardAngle: 88
secondaryUVPackMargin: 4
useFileScale: 1
tangentSpace:
normalSmoothAngle: 60
normalImportMode: 0
tangentImportMode: 3
normalCalculationMode: 4
importAnimation: 0
copyAvatar: 0
humanDescription:
serializedVersion: 2
human: []
skeleton: []
armTwist: 0.5
foreArmTwist: 0.5
upperLegTwist: 0.5
legTwist: 0.5
armStretch: 0.05
legStretch: 0.05
feetSpacing: 0
rootMotionBoneName:
rootMotionBoneRotation: {x: 0, y: 0, z: 0, w: 1}
hasTranslationDoF: 0
hasExtraRoot: 0
skeletonHasParents: 1
lastHumanDescriptionAvatarSource: {instanceID: 0}
animationType: 0
humanoidOversampling: 1
additionalBone: 0
userData:
assetBundleName:
assetBundleVariant:
正在加载...
取消
保存