浏览代码

plug cluster display, fixed exposure

/main
etienne cella 5 年前
当前提交
7a53343c
共有 12 个文件被更改,包括 675 次插入522 次删除
  1. 115
      Assets/Scenes/Demo/Demo.unity
  2. 352
      Assets/Scenes/Demo/Settings/PostProcessing/DayPost.asset
  3. 304
      Assets/Scenes/Demo/Settings/PostProcessing/NightPost.asset
  4. 370
      Assets/Scenes/Demo/Settings/PostProcessing/SunsetPost.asset
  5. 12
      Packages/manifest.json
  6. 8
      Assets/ClusterDisplay.meta
  7. 8
      Assets/ClusterDisplay/Scripts.meta
  8. 17
      Assets/ClusterDisplay/Scripts/KeystrokeActivationToggle.cs
  9. 11
      Assets/ClusterDisplay/Scripts/KeystrokeActivationToggle.cs.meta

115
Assets/Scenes/Demo/Demo.unity


m_HasTransformHierarchy: 1
m_AllowConstantClipSamplingOptimization: 1
m_KeepAnimatorControllerStateOnDisable: 0
--- !u!114 &25927726
MonoBehaviour:
m_ObjectHideFlags: 0
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: e398ceca33588144fbf8c04886332a8b, type: 3}
m_Name:
m_EditorClassIdentifier:
m_GridSize: {x: 2, y: 2}
m_OverscanInPixels: 0
--- !u!43 &43038843
Mesh:
m_ObjectHideFlags: 0

m_SortingLayerID: 0
m_SortingLayer: 0
m_SortingOrder: 0
m_AdditionalVertexStreams: {fileID: 0}
--- !u!33 &480105429
MeshFilter:
m_ObjectHideFlags: 0

m_SortingLayerID: 0
m_SortingLayer: 0
m_SortingOrder: 0
m_AdditionalVertexStreams: {fileID: 0}
--- !u!33 &519814092
MeshFilter:
m_ObjectHideFlags: 0

m_Script: {fileID: 11500000, guid: a441d07e5dca4794e8f2896c98a158a0, type: 3}
m_Name:
m_EditorClassIdentifier:
Name: Lock Cursor
LockState: 1
CursorVisible: 0
Name: Release Cursor
LockState: 0
CursorVisible: 1
--- !u!114 &655091766
MonoBehaviour:
m_ObjectHideFlags: 0

m_SortingLayerID: 0
m_SortingLayer: 0
m_SortingOrder: 0
m_AdditionalVertexStreams: {fileID: 0}
--- !u!33 &712934705
MeshFilter:
m_ObjectHideFlags: 0

OnEnableEvent:
- {fileID: 829436808}
OnDisableEvent: []
--- !u!1 &832040620
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 832040624}
- component: {fileID: 832040623}
- component: {fileID: 832040622}
- component: {fileID: 832040621}
m_Layer: 0
m_Name: ClusterDisplay
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!114 &832040621
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 832040620}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: f12fba8c0f927c341bfa2dc220175358, type: 3}
m_Name:
m_EditorClassIdentifier:
m_ClusterRenderer: {fileID: 832040623}
m_Show: 1
m_ToggleKey: 104
m_DisplayUpdateRate: 1
--- !u!114 &832040622
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 832040620}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 121705c551bbd5b429dee825bdaaa638, type: 3}
m_Name:
m_EditorClassIdentifier:
m_Debugging: 0
m_EditorCmdLine:
--- !u!114 &832040623
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 832040620}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: f262ab233d06b6e47ba3517050e5d678, type: 3}
m_Name:
m_EditorClassIdentifier:
m_Settings: {fileID: 25927726}
m_Debug: 1
--- !u!4 &832040624
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 832040620}
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_Children: []
m_Father: {fileID: 0}
m_RootOrder: 8
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!1 &879217304
GameObject:
m_ObjectHideFlags: 0

m_Script: {fileID: 11500000, guid: a441d07e5dca4794e8f2896c98a158a0, type: 3}
m_Name:
m_EditorClassIdentifier:
Name: Lock Cursor
LockState: 1
CursorVisible: 0
Name: Release Cursor
LockState: 0
CursorVisible: 1
--- !u!114 &894471224
MonoBehaviour:
m_ObjectHideFlags: 0

m_SortingLayerID: 0
m_SortingLayer: 0
m_SortingOrder: 0
m_AdditionalVertexStreams: {fileID: 0}
--- !u!33 &1126536669
MeshFilter:
m_ObjectHideFlags: 0

m_SortingLayerID: 0
m_SortingLayer: 0
m_SortingOrder: 0
m_AdditionalVertexStreams: {fileID: 0}
--- !u!33 &1381645501
MeshFilter:
m_ObjectHideFlags: 0

m_SortingLayerID: 0
m_SortingLayer: 0
m_SortingOrder: 0
m_AdditionalVertexStreams: {fileID: 0}
--- !u!33 &1470791389
MeshFilter:
m_ObjectHideFlags: 0

m_SortingLayerID: 0
m_SortingLayer: 0
m_SortingOrder: 0
m_AdditionalVertexStreams: {fileID: 0}
--- !u!33 &1614826918
MeshFilter:
m_ObjectHideFlags: 0

m_SortingLayerID: 0
m_SortingLayer: 0
m_SortingOrder: 0
m_AdditionalVertexStreams: {fileID: 0}
--- !u!33 &1619976218
MeshFilter:
m_ObjectHideFlags: 0

m_SortingLayerID: 0
m_SortingLayer: 0
m_SortingOrder: 0
m_AdditionalVertexStreams: {fileID: 0}
--- !u!33 &1646630307
MeshFilter:
m_ObjectHideFlags: 0

m_SortingLayerID: 0
m_SortingLayer: 0
m_SortingOrder: 0
m_AdditionalVertexStreams: {fileID: 0}
--- !u!33 &1804604715
MeshFilter:
m_ObjectHideFlags: 0

m_SortingLayerID: 0
m_SortingLayer: 0
m_SortingOrder: 0
m_AdditionalVertexStreams: {fileID: 0}
--- !u!33 &1945703207
MeshFilter:
m_ObjectHideFlags: 0

m_SortingLayerID: 0
m_SortingLayer: 0
m_SortingOrder: 0
m_AdditionalVertexStreams: {fileID: 0}
--- !u!33 &2007101365
MeshFilter:
m_ObjectHideFlags: 0

352
Assets/Scenes/Demo/Settings/PostProcessing/DayPost.asset


%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!114 &-2043280265433885549
MonoBehaviour:
m_ObjectHideFlags: 3
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: 4b8bcdf71d7fafa419fca1ed162f5fc9, type: 3}
m_Name: ColorAdjustments
m_EditorClassIdentifier:
active: 1
m_AdvancedMode: 0
postExposure:
m_OverrideState: 0
m_Value: 0
contrast:
m_OverrideState: 0
m_Value: 0
min: -100
max: 100
colorFilter:
m_OverrideState: 0
m_Value: {r: 1, g: 1, b: 1, a: 1}
hdr: 1
showAlpha: 0
showEyeDropper: 1
hueShift:
m_OverrideState: 0
m_Value: 0
min: -180
max: 180
saturation:
m_OverrideState: 1
m_Value: -8
min: -100
max: 100
--- !u!114 &11400000
MonoBehaviour:
m_ObjectHideFlags: 0
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: d7fd9488000d3734a9e00ee676215985, type: 3}
m_Name: DayPost
m_EditorClassIdentifier:
components:
- {fileID: 8545980083184930495}
- {fileID: 9032837060528659823}
- {fileID: 7411307919425403641}
- {fileID: -2043280265433885549}
--- !u!114 &7411307919425403641
MonoBehaviour:
m_ObjectHideFlags: 3
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: da5ab44aadfb1804db5fd470983ac1b8, type: 3}
m_Name: LiftGammaGain
m_EditorClassIdentifier:
active: 1
m_AdvancedMode: 0
lift:
m_OverrideState: 0
m_Value: {x: 1, y: 1, z: 1, w: 0}
gamma:
m_OverrideState: 1
m_Value: {x: 1, y: 1, z: 1, w: -0.22326674}
gain:
m_OverrideState: 1
m_Value: {x: 1, y: 1, z: 1, w: 0.30552295}
--- !u!114 &8545980083184930495
MonoBehaviour:
m_ObjectHideFlags: 3
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: b51a78e223a2e504bb88a059b55229ea, type: 3}
m_Name: WhiteBalance
m_EditorClassIdentifier:
active: 1
m_AdvancedMode: 0
temperature:
m_OverrideState: 1
m_Value: 17
min: -100
max: 100
tint:
m_OverrideState: 0
m_Value: 0
min: -100
max: 100
--- !u!114 &9032837060528659823
MonoBehaviour:
m_ObjectHideFlags: 3
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: 2d08ce26990eb1a4a9177b860541e702, type: 3}
m_Name: Exposure
m_EditorClassIdentifier:
active: 1
m_AdvancedMode: 0
mode:
m_OverrideState: 1
m_Value: 1
meteringMode:
m_OverrideState: 0
m_Value: 2
luminanceSource:
m_OverrideState: 0
m_Value: 1
fixedExposure:
m_OverrideState: 1
m_Value: 13
compensation:
m_OverrideState: 1
m_Value: 0.5
limitMin:
m_OverrideState: 1
m_Value: 10
limitMax:
m_OverrideState: 1
m_Value: 12.91
curveMap:
m_OverrideState: 0
m_Value:
serializedVersion: 2
m_Curve:
- serializedVersion: 3
time: -10
value: -10
inSlope: 0
outSlope: 1
tangentMode: 0
weightedMode: 0
inWeight: 0
outWeight: 0
- serializedVersion: 3
time: 20
value: 20
inSlope: 1
outSlope: 0
tangentMode: 0
weightedMode: 0
inWeight: 0
outWeight: 0
m_PreInfinity: 2
m_PostInfinity: 2
m_RotationOrder: 4
adaptationMode:
m_OverrideState: 0
m_Value: 1
adaptationSpeedDarkToLight:
m_OverrideState: 0
m_Value: 3
min: 0.001
adaptationSpeedLightToDark:
m_OverrideState: 0
m_Value: 1
min: 0.001
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!114 &-2043280265433885549
MonoBehaviour:
m_ObjectHideFlags: 3
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: 4b8bcdf71d7fafa419fca1ed162f5fc9, type: 3}
m_Name: ColorAdjustments
m_EditorClassIdentifier:
active: 1
m_AdvancedMode: 0
postExposure:
m_OverrideState: 0
m_Value: 0
contrast:
m_OverrideState: 0
m_Value: 0
min: -100
max: 100
colorFilter:
m_OverrideState: 0
m_Value: {r: 1, g: 1, b: 1, a: 1}
hdr: 1
showAlpha: 0
showEyeDropper: 1
hueShift:
m_OverrideState: 0
m_Value: 0
min: -180
max: 180
saturation:
m_OverrideState: 1
m_Value: -8
min: -100
max: 100
--- !u!114 &11400000
MonoBehaviour:
m_ObjectHideFlags: 0
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: d7fd9488000d3734a9e00ee676215985, type: 3}
m_Name: DayPost
m_EditorClassIdentifier:
components:
- {fileID: 8545980083184930495}
- {fileID: 9032837060528659823}
- {fileID: 7411307919425403641}
- {fileID: -2043280265433885549}
--- !u!114 &7411307919425403641
MonoBehaviour:
m_ObjectHideFlags: 3
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: da5ab44aadfb1804db5fd470983ac1b8, type: 3}
m_Name: LiftGammaGain
m_EditorClassIdentifier:
active: 1
m_AdvancedMode: 0
lift:
m_OverrideState: 0
m_Value: {x: 1, y: 1, z: 1, w: 0}
gamma:
m_OverrideState: 1
m_Value: {x: 1, y: 1, z: 1, w: -0.22326674}
gain:
m_OverrideState: 1
m_Value: {x: 1, y: 1, z: 1, w: 0.30552295}
--- !u!114 &8545980083184930495
MonoBehaviour:
m_ObjectHideFlags: 3
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: b51a78e223a2e504bb88a059b55229ea, type: 3}
m_Name: WhiteBalance
m_EditorClassIdentifier:
active: 1
m_AdvancedMode: 0
temperature:
m_OverrideState: 1
m_Value: 17
min: -100
max: 100
tint:
m_OverrideState: 0
m_Value: 0
min: -100
max: 100
--- !u!114 &9032837060528659823
MonoBehaviour:
m_ObjectHideFlags: 3
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: 2d08ce26990eb1a4a9177b860541e702, type: 3}
m_Name: Exposure
m_EditorClassIdentifier:
active: 1
m_AdvancedMode: 0
mode:
m_OverrideState: 1
m_Value: 0
meteringMode:
m_OverrideState: 0
m_Value: 2
luminanceSource:
m_OverrideState: 0
m_Value: 1
fixedExposure:
m_OverrideState: 1
m_Value: 13
compensation:
m_OverrideState: 1
m_Value: 0.5
limitMin:
m_OverrideState: 1
m_Value: 10
limitMax:
m_OverrideState: 1
m_Value: 12.91
curveMap:
m_OverrideState: 0
m_Value:
serializedVersion: 2
m_Curve:
- serializedVersion: 3
time: -10
value: -10
inSlope: 0
outSlope: 1
tangentMode: 0
weightedMode: 0
inWeight: 0
outWeight: 0
- serializedVersion: 3
time: 20
value: 20
inSlope: 1
outSlope: 0
tangentMode: 0
weightedMode: 0
inWeight: 0
outWeight: 0
m_PreInfinity: 2
m_PostInfinity: 2
m_RotationOrder: 4
adaptationMode:
m_OverrideState: 0
m_Value: 1
adaptationSpeedDarkToLight:
m_OverrideState: 0
m_Value: 3
min: 0.001
adaptationSpeedLightToDark:
m_OverrideState: 0
m_Value: 1
min: 0.001

304
Assets/Scenes/Demo/Settings/PostProcessing/NightPost.asset


%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!114 &11400000
MonoBehaviour:
m_ObjectHideFlags: 0
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: d7fd9488000d3734a9e00ee676215985, type: 3}
m_Name: NightPost
m_EditorClassIdentifier:
components:
- {fileID: 8545980083184930495}
- {fileID: 9032837060528659823}
- {fileID: 4737894243619288382}
--- !u!114 &4737894243619288382
MonoBehaviour:
m_ObjectHideFlags: 3
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: 4b8bcdf71d7fafa419fca1ed162f5fc9, type: 3}
m_Name: ColorAdjustments
m_EditorClassIdentifier:
active: 1
m_AdvancedMode: 0
postExposure:
m_OverrideState: 0
m_Value: 0
contrast:
m_OverrideState: 1
m_Value: 20
min: -100
max: 100
colorFilter:
m_OverrideState: 0
m_Value: {r: 1, g: 1, b: 1, a: 1}
hdr: 1
showAlpha: 0
showEyeDropper: 1
hueShift:
m_OverrideState: 0
m_Value: 0
min: -180
max: 180
saturation:
m_OverrideState: 1
m_Value: -10
min: -100
max: 100
--- !u!114 &8545980083184930495
MonoBehaviour:
m_ObjectHideFlags: 3
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: b51a78e223a2e504bb88a059b55229ea, type: 3}
m_Name: WhiteBalance
m_EditorClassIdentifier:
active: 1
m_AdvancedMode: 0
temperature:
m_OverrideState: 1
m_Value: -40
min: -100
max: 100
tint:
m_OverrideState: 1
m_Value: -16
min: -100
max: 100
--- !u!114 &9032837060528659823
MonoBehaviour:
m_ObjectHideFlags: 3
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: 2d08ce26990eb1a4a9177b860541e702, type: 3}
m_Name: Exposure
m_EditorClassIdentifier:
active: 1
m_AdvancedMode: 0
mode:
m_OverrideState: 1
m_Value: 0
meteringMode:
m_OverrideState: 0
m_Value: 2
luminanceSource:
m_OverrideState: 0
m_Value: 1
fixedExposure:
m_OverrideState: 1
m_Value: -1
compensation:
m_OverrideState: 1
m_Value: -0.5
limitMin:
m_OverrideState: 1
m_Value: -2
limitMax:
m_OverrideState: 1
m_Value: -0.5
curveMap:
m_OverrideState: 0
m_Value:
serializedVersion: 2
m_Curve:
- serializedVersion: 3
time: -10
value: -10
inSlope: 0
outSlope: 1
tangentMode: 0
weightedMode: 0
inWeight: 0
outWeight: 0
- serializedVersion: 3
time: 20
value: 20
inSlope: 1
outSlope: 0
tangentMode: 0
weightedMode: 0
inWeight: 0
outWeight: 0
m_PreInfinity: 2
m_PostInfinity: 2
m_RotationOrder: 4
adaptationMode:
m_OverrideState: 0
m_Value: 1
adaptationSpeedDarkToLight:
m_OverrideState: 0
m_Value: 3
min: 0.001
adaptationSpeedLightToDark:
m_OverrideState: 0
m_Value: 1
min: 0.001
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!114 &11400000
MonoBehaviour:
m_ObjectHideFlags: 0
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: d7fd9488000d3734a9e00ee676215985, type: 3}
m_Name: NightPost
m_EditorClassIdentifier:
components:
- {fileID: 8545980083184930495}
- {fileID: 9032837060528659823}
- {fileID: 4737894243619288382}
--- !u!114 &4737894243619288382
MonoBehaviour:
m_ObjectHideFlags: 3
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: 4b8bcdf71d7fafa419fca1ed162f5fc9, type: 3}
m_Name: ColorAdjustments
m_EditorClassIdentifier:
active: 1
m_AdvancedMode: 0
postExposure:
m_OverrideState: 0
m_Value: 0
contrast:
m_OverrideState: 1
m_Value: 20
min: -100
max: 100
colorFilter:
m_OverrideState: 0
m_Value: {r: 1, g: 1, b: 1, a: 1}
hdr: 1
showAlpha: 0
showEyeDropper: 1
hueShift:
m_OverrideState: 0
m_Value: 0
min: -180
max: 180
saturation:
m_OverrideState: 1
m_Value: -10
min: -100
max: 100
--- !u!114 &8545980083184930495
MonoBehaviour:
m_ObjectHideFlags: 3
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: b51a78e223a2e504bb88a059b55229ea, type: 3}
m_Name: WhiteBalance
m_EditorClassIdentifier:
active: 1
m_AdvancedMode: 0
temperature:
m_OverrideState: 1
m_Value: -40
min: -100
max: 100
tint:
m_OverrideState: 1
m_Value: -16
min: -100
max: 100
--- !u!114 &9032837060528659823
MonoBehaviour:
m_ObjectHideFlags: 3
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: 2d08ce26990eb1a4a9177b860541e702, type: 3}
m_Name: Exposure
m_EditorClassIdentifier:
active: 1
m_AdvancedMode: 0
mode:
m_OverrideState: 1
m_Value: 0
meteringMode:
m_OverrideState: 0
m_Value: 2
luminanceSource:
m_OverrideState: 0
m_Value: 1
fixedExposure:
m_OverrideState: 1
m_Value: -1
compensation:
m_OverrideState: 1
m_Value: -0.5
limitMin:
m_OverrideState: 1
m_Value: -2
limitMax:
m_OverrideState: 1
m_Value: -0.5
curveMap:
m_OverrideState: 0
m_Value:
serializedVersion: 2
m_Curve:
- serializedVersion: 3
time: -10
value: -10
inSlope: 0
outSlope: 1
tangentMode: 0
weightedMode: 0
inWeight: 0
outWeight: 0
- serializedVersion: 3
time: 20
value: 20
inSlope: 1
outSlope: 0
tangentMode: 0
weightedMode: 0
inWeight: 0
outWeight: 0
m_PreInfinity: 2
m_PostInfinity: 2
m_RotationOrder: 4
adaptationMode:
m_OverrideState: 0
m_Value: 1
adaptationSpeedDarkToLight:
m_OverrideState: 0
m_Value: 3
min: 0.001
adaptationSpeedLightToDark:
m_OverrideState: 0
m_Value: 1
min: 0.001

370
Assets/Scenes/Demo/Settings/PostProcessing/SunsetPost.asset


%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!114 &-3237255344746095906
MonoBehaviour:
m_ObjectHideFlags: 3
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: 4b8bcdf71d7fafa419fca1ed162f5fc9, type: 3}
m_Name: ColorAdjustments
m_EditorClassIdentifier:
active: 1
m_AdvancedMode: 0
postExposure:
m_OverrideState: 0
m_Value: 0
contrast:
m_OverrideState: 0
m_Value: 24.5
min: -100
max: 100
colorFilter:
m_OverrideState: 1
m_Value: {r: 1, g: 0.95, b: 0.9916667, a: 1}
hdr: 1
showAlpha: 0
showEyeDropper: 1
hueShift:
m_OverrideState: 0
m_Value: 0
min: -180
max: 180
saturation:
m_OverrideState: 0
m_Value: 0
min: -100
max: 100
--- !u!114 &11400000
MonoBehaviour:
m_ObjectHideFlags: 0
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: d7fd9488000d3734a9e00ee676215985, type: 3}
m_Name: SunsetPost
m_EditorClassIdentifier:
components:
- {fileID: 8545980083184930495}
- {fileID: 9032837060528659823}
- {fileID: 3185272385009018521}
- {fileID: -3237255344746095906}
--- !u!114 &3185272385009018521
MonoBehaviour:
m_ObjectHideFlags: 3
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: da5ab44aadfb1804db5fd470983ac1b8, type: 3}
m_Name: LiftGammaGain
m_EditorClassIdentifier:
active: 1
m_AdvancedMode: 0
lift:
m_OverrideState: 0
m_Value: {x: 1, y: 1, z: 1, w: 0}
gamma:
m_OverrideState: 0
m_Value: {x: 1, y: 1, z: 1, w: -0.023255816}
gain:
m_OverrideState: 1
m_Value: {x: 1, y: 1, z: 1, w: 0.830401}
--- !u!114 &8545980083184930495
MonoBehaviour:
m_ObjectHideFlags: 3
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: b51a78e223a2e504bb88a059b55229ea, type: 3}
m_Name: WhiteBalance
m_EditorClassIdentifier:
active: 0
m_AdvancedMode: 0
temperature:
m_OverrideState: 1
m_Value: 0
min: -100
max: 100
tint:
m_OverrideState: 1
m_Value: -5
min: -100
max: 100
--- !u!114 &9032837060528659823
MonoBehaviour:
m_ObjectHideFlags: 3
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: 2d08ce26990eb1a4a9177b860541e702, type: 3}
m_Name: Exposure
m_EditorClassIdentifier:
active: 1
m_AdvancedMode: 0
mode:
m_OverrideState: 1
m_Value: 1
meteringMode:
m_OverrideState: 0
m_Value: 2
luminanceSource:
m_OverrideState: 0
m_Value: 1
fixedExposure:
m_OverrideState: 1
m_Value: 12.8
compensation:
m_OverrideState: 1
m_Value: -0.5
limitMin:
m_OverrideState: 1
m_Value: 11.7
limitMax:
m_OverrideState: 1
m_Value: 12.8
curveMap:
m_OverrideState: 1
m_Value:
serializedVersion: 2
m_Curve:
- serializedVersion: 3
time: -10
value: -10
inSlope: 0
outSlope: 0
tangentMode: 0
weightedMode: 0
inWeight: 0
outWeight: 0
- serializedVersion: 3
time: 11.175365
value: 10.909879
inSlope: 1.4460528
outSlope: 1.4460528
tangentMode: 0
weightedMode: 0
inWeight: 0.33333334
outWeight: 0.33333334
- serializedVersion: 3
time: 13.969078
value: 12.598325
inSlope: 0.0000007843863
outSlope: 0.012044084
tangentMode: 1
weightedMode: 1
inWeight: 0.43519947
outWeight: 0
m_PreInfinity: 2
m_PostInfinity: 2
m_RotationOrder: 4
adaptationMode:
m_OverrideState: 0
m_Value: 1
adaptationSpeedDarkToLight:
m_OverrideState: 0
m_Value: 3
min: 0.001
adaptationSpeedLightToDark:
m_OverrideState: 0
m_Value: 1
min: 0.001
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!114 &-3237255344746095906
MonoBehaviour:
m_ObjectHideFlags: 3
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: 4b8bcdf71d7fafa419fca1ed162f5fc9, type: 3}
m_Name: ColorAdjustments
m_EditorClassIdentifier:
active: 1
m_AdvancedMode: 0
postExposure:
m_OverrideState: 0
m_Value: 0
contrast:
m_OverrideState: 0
m_Value: 24.5
min: -100
max: 100
colorFilter:
m_OverrideState: 1
m_Value: {r: 1, g: 0.95, b: 0.9916667, a: 1}
hdr: 1
showAlpha: 0
showEyeDropper: 1
hueShift:
m_OverrideState: 0
m_Value: 0
min: -180
max: 180
saturation:
m_OverrideState: 0
m_Value: 0
min: -100
max: 100
--- !u!114 &11400000
MonoBehaviour:
m_ObjectHideFlags: 0
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: d7fd9488000d3734a9e00ee676215985, type: 3}
m_Name: SunsetPost
m_EditorClassIdentifier:
components:
- {fileID: 8545980083184930495}
- {fileID: 9032837060528659823}
- {fileID: 3185272385009018521}
- {fileID: -3237255344746095906}
--- !u!114 &3185272385009018521
MonoBehaviour:
m_ObjectHideFlags: 3
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: da5ab44aadfb1804db5fd470983ac1b8, type: 3}
m_Name: LiftGammaGain
m_EditorClassIdentifier:
active: 1
m_AdvancedMode: 0
lift:
m_OverrideState: 0
m_Value: {x: 1, y: 1, z: 1, w: 0}
gamma:
m_OverrideState: 0
m_Value: {x: 1, y: 1, z: 1, w: -0.023255816}
gain:
m_OverrideState: 1
m_Value: {x: 1, y: 1, z: 1, w: 0.830401}
--- !u!114 &8545980083184930495
MonoBehaviour:
m_ObjectHideFlags: 3
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: b51a78e223a2e504bb88a059b55229ea, type: 3}
m_Name: WhiteBalance
m_EditorClassIdentifier:
active: 0
m_AdvancedMode: 0
temperature:
m_OverrideState: 1
m_Value: 0
min: -100
max: 100
tint:
m_OverrideState: 1
m_Value: -5
min: -100
max: 100
--- !u!114 &9032837060528659823
MonoBehaviour:
m_ObjectHideFlags: 3
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: 2d08ce26990eb1a4a9177b860541e702, type: 3}
m_Name: Exposure
m_EditorClassIdentifier:
active: 1
m_AdvancedMode: 0
mode:
m_OverrideState: 1
m_Value: 0
meteringMode:
m_OverrideState: 0
m_Value: 2
luminanceSource:
m_OverrideState: 0
m_Value: 1
fixedExposure:
m_OverrideState: 1
m_Value: 12.8
compensation:
m_OverrideState: 1
m_Value: -0.5
limitMin:
m_OverrideState: 1
m_Value: 11.7
limitMax:
m_OverrideState: 1
m_Value: 12.8
curveMap:
m_OverrideState: 1
m_Value:
serializedVersion: 2
m_Curve:
- serializedVersion: 3
time: -10
value: -10
inSlope: 0
outSlope: 0
tangentMode: 0
weightedMode: 0
inWeight: 0
outWeight: 0
- serializedVersion: 3
time: 11.175365
value: 10.909879
inSlope: 1.4460528
outSlope: 1.4460528
tangentMode: 0
weightedMode: 0
inWeight: 0.33333334
outWeight: 0.33333334
- serializedVersion: 3
time: 13.969078
value: 12.598325
inSlope: 0.0000007843863
outSlope: 0.012044084
tangentMode: 1
weightedMode: 1
inWeight: 0.43519947
outWeight: 0
m_PreInfinity: 2
m_PostInfinity: 2
m_RotationOrder: 4
adaptationMode:
m_OverrideState: 0
m_Value: 1
adaptationSpeedDarkToLight:
m_OverrideState: 0
m_Value: 3
min: 0.001
adaptationSpeedLightToDark:
m_OverrideState: 0
m_Value: 1
min: 0.001

12
Packages/manifest.json


"com.unity.2d.sprite": "1.0.0",
"com.unity.animation.rigging": "0.2.3-preview",
"com.unity.cinemachine": "2.4.0-preview.6",
"com.unity.cluster-display.sync": "file:../../ClusterDisplayExample/ClusterDisplay/source/com.unity.cluster-display.sync",
"com.unity.cluster-display.utils": "file:../../ClusterDisplayExample/ClusterDisplay/source/com.unity.cluster-display.utils",
"com.unity.cluster-rendering.toolkit": "file:../../ClusterDisplayExample/com.unity.cluster-rendering.toolkit",
"com.unity.collab-proxy": "1.2.16",
"com.unity.editorcoroutines": "0.0.2-preview.1",
"com.unity.ide.rider": "1.1.1",

"com.unity.quicksearch": "1.4.1",
"com.unity.render-pipelines.high-definition": "7.1.6",
"com.unity.render-pipelines.high-definition-config": "file:../LocalPackages/com.unity.render-pipelines.high-definition-config",
"com.unity.render-pipelines.core": "file:../../ClusterDisplayExample/ScriptableRenderPipeline/com.unity.render-pipelines.core",
"com.unity.render-pipelines.high-definition": "file:../../ClusterDisplayExample/ScriptableRenderPipeline/com.unity.render-pipelines.high-definition",
"com.unity.render-pipelines.high-definition-config": "file:../../ClusterDisplayExample/ScriptableRenderPipeline/com.unity.render-pipelines.high-definition-config",
"com.unity.shadergraph": "file:../../ClusterDisplayExample/ScriptableRenderPipeline/com.unity.shadergraph",
"com.unity.timeline": "1.2.6",
"com.unity.timeline": "1.3.0-preview.2",
"com.unity.visualeffectgraph": "file:../../ClusterDisplayExample/ScriptableRenderPipeline/com.unity.visualeffectgraph",
"li.lightingtools.lightmapswitcher": "file:../LocalPackages/LightingTools.LightmapSwitcher",
"li.lightingtools.lightprobesvolumes": "file:../LocalPackages/LightingTools.LightProbesVolumes",
"net.peeweek.gameplay-ingredients": "file:../LocalPackages/net.peeweek.gameplay-ingredients",

8
Assets/ClusterDisplay.meta


fileFormatVersion: 2
guid: 36367979b088b1e448c2f46fa81fa69b
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

8
Assets/ClusterDisplay/Scripts.meta


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

17
Assets/ClusterDisplay/Scripts/KeystrokeActivationToggle.cs


using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class KeystrokeActivationToggle : MonoBehaviour
{
public KeyCode code;
public MonoBehaviour behaviour;
void Update()
{
if (behaviour == null)
return;
if (Input.GetKeyDown(code))
behaviour.enabled = !behaviour.enabled;
}
}

11
Assets/ClusterDisplay/Scripts/KeystrokeActivationToggle.cs.meta


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

部分文件因为文件数量过多而无法显示

正在加载...
取消
保存