浏览代码

update manifest, custom buffer shortcut, runtime gui

/cinematic-demo-ME
etienne cella 5 年前
当前提交
9b9ae775
共有 3 个文件被更改,包括 38 次插入62 次删除
  1. 3
      Assets/ClusterDisplay/Scripts/CustomDepthBuffer.cs
  2. 95
      Assets/Scenes/Demo/Demo.unity
  3. 2
      Packages/manifest.json

3
Assets/ClusterDisplay/Scripts/CustomDepthBuffer.cs


void Update()
{
// TMP DEBUG hack, show depth buffer on leftCtrl+G
if (Input.GetKey(KeyCode.LeftControl) && Input.GetKeyDown(KeyCode.G))
if (Input.GetKeyDown(KeyCode.G))
m_ShowDebugUI = !m_ShowDebugUI;
m_Sampler.Begin();

95
Assets/Scenes/Demo/Demo.unity


--- !u!157 &3
LightmapSettings:
m_ObjectHideFlags: 0
serializedVersion: 11
serializedVersion: 12
m_GIWorkflowMode: 1
m_GISettings:
serializedVersion: 2

m_TrainingDataDestination: TrainingData
m_LightProbeSampleCountMultiplier: 4
m_LightingDataAsset: {fileID: 0}
m_UseShadowmask: 0
m_LightingSettings: {fileID: 4890085278179872738, guid: b989b276e34a085479dd8c3e93e0db5e,
type: 2}
--- !u!196 &4
NavMeshSettings:
serializedVersion: 2

manualTileSize: 0
tileSize: 256
accuratePlacement: 0
maxJobWorkers: 0
keepTiles: 0
debug:
m_Flags: 0
m_NavMeshData: {fileID: 0}

m_PersistentCalls:
m_Calls:
- m_Target: {fileID: 480105430}
m_TargetAssemblyTypeName:
m_MethodName: RequestRenderNextUpdate
m_Mode: 1
m_Arguments:

m_LightProbeUsage: 0
m_ReflectionProbeUsage: 1
m_RayTracingMode: 2
m_RayTraceProcedural: 0
m_RenderingLayerMask: 4294967295
m_RendererPriority: 0
m_Materials:

m_LightProbeUsage: 0
m_ReflectionProbeUsage: 1
m_RayTracingMode: 2
m_RayTraceProcedural: 0
m_RenderingLayerMask: 4294967295
m_RendererPriority: 0
m_Materials:

m_LightProbeUsage: 0
m_ReflectionProbeUsage: 1
m_RayTracingMode: 2
m_RayTraceProcedural: 0
m_RenderingLayerMask: 4294967295
m_RendererPriority: 0
m_Materials:

m_PersistentCalls:
m_Calls:
- m_Target: {fileID: 712934706}
m_TargetAssemblyTypeName:
m_MethodName: RequestRenderNextUpdate
m_Mode: 1
m_Arguments:

m_GameObject: {fileID: 832040620}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: f12fba8c0f927c341bfa2dc220175358, type: 3}
m_Script: {fileID: 11500000, guid: 70ec06d5ae7f12b4dae83a61997a9bef, type: 3}
m_ClusterRenderer: {fileID: 832040623}
m_Show: 0
m_DisplayUpdateRate: 1
--- !u!114 &832040622
MonoBehaviour:
m_ObjectHideFlags: 0

m_LightProbeUsage: 0
m_ReflectionProbeUsage: 0
m_RayTracingMode: 0
m_RayTraceProcedural: 0
m_Materials:
- {fileID: 0}
m_Materials: []
m_StaticBatchInfo:
firstSubMesh: 0
subMeshCount: 0

m_PersistentCalls:
m_Calls:
- m_Target: {fileID: 1126536670}
m_TargetAssemblyTypeName:
m_MethodName: RequestRenderNextUpdate
m_Mode: 1
m_Arguments:

m_LightProbeUsage: 0
m_ReflectionProbeUsage: 1
m_RayTracingMode: 2
m_RayTraceProcedural: 0
m_RenderingLayerMask: 4294967295
m_RendererPriority: 0
m_Materials:

m_MeshMetrics[1]: 1
m_MeshOptimizationFlags: -1
m_StreamData:
serializedVersion: 2
offset: 0
size: 0
path:

m_PersistentCalls:
m_Calls:
- m_Target: {fileID: 1381645502}
m_TargetAssemblyTypeName:
m_MethodName: RequestRenderNextUpdate
m_Mode: 1
m_Arguments:

m_LightProbeUsage: 0
m_ReflectionProbeUsage: 1
m_RayTracingMode: 2
m_RayTraceProcedural: 0
m_RenderingLayerMask: 4294967295
m_RendererPriority: 0
m_Materials:

m_MeshMetrics[1]: 1
m_MeshOptimizationFlags: -1
m_StreamData:
serializedVersion: 2
offset: 0
size: 0
path:

m_PersistentCalls:
m_Calls:
- m_Target: {fileID: 1470791390}
m_TargetAssemblyTypeName:
m_MethodName: RequestRenderNextUpdate
m_Mode: 1
m_Arguments:

m_LightProbeUsage: 0
m_ReflectionProbeUsage: 1
m_RayTracingMode: 2
m_RayTraceProcedural: 0
m_RenderingLayerMask: 4294967295
m_RendererPriority: 0
m_Materials:

m_MeshMetrics[1]: 1
m_MeshOptimizationFlags: -1
m_StreamData:
serializedVersion: 2
offset: 0
size: 0
path:

m_LightProbeUsage: 0
m_ReflectionProbeUsage: 1
m_RayTracingMode: 2
m_RayTraceProcedural: 0
m_RenderingLayerMask: 4294967295
m_RendererPriority: 0
m_Materials:

m_LightProbeUsage: 0
m_ReflectionProbeUsage: 1
m_RayTracingMode: 2
m_RayTraceProcedural: 0
m_RenderingLayerMask: 4294967295
m_RendererPriority: 0
m_Materials:

m_PersistentCalls:
m_Calls:
- m_Target: {fileID: 1646630308}
m_TargetAssemblyTypeName:
m_MethodName: RequestRenderNextUpdate
m_Mode: 1
m_Arguments:

m_LightProbeUsage: 0
m_ReflectionProbeUsage: 1
m_RayTracingMode: 2
m_RayTraceProcedural: 0
m_RenderingLayerMask: 4294967295
m_RendererPriority: 0
m_Materials:

m_Name:
m_EditorClassIdentifier:
m_MaxSpeed: 2
m_MinSpeed: 0
m_MinSpeed: 0.1
m_SpeedDelta: 0.1
--- !u!1 &1711691666
GameObject:

m_LightProbeUsage: 0
m_ReflectionProbeUsage: 1
m_RayTracingMode: 2
m_RayTraceProcedural: 0
m_RenderingLayerMask: 4294967295
m_RendererPriority: 0
m_Materials:

m_Father: {fileID: 1711691667}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!1 &1864955283
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 1864955285}
- component: {fileID: 1864955284}
m_Layer: 0
m_Name: AmbienceManager
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 0
--- !u!114 &1864955284
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1864955283}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: fbbf58ad965abbd489b0baed509bcebf, type: 3}
m_Name:
m_EditorClassIdentifier:
m_Ambiences:
- lightScene: Demo_LI_Sunset
soundScene: Demo_SD_Sunset
key: 257
- lightScene: Demo_LI_Day
soundScene: Demo_SD_Day
key: 258
- lightScene: Demo_LI_Night
soundScene: Demo_SD_Night
key: 259
--- !u!4 &1864955285
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1864955283}
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: 10
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!1 &1945703202
GameObject:
m_ObjectHideFlags: 0

m_PersistentCalls:
m_Calls:
- m_Target: {fileID: 1945703208}
m_TargetAssemblyTypeName:
m_MethodName: RequestRenderNextUpdate
m_Mode: 1
m_Arguments:

m_LightProbeUsage: 0
m_ReflectionProbeUsage: 1
m_RayTracingMode: 2
m_RayTraceProcedural: 0
m_RenderingLayerMask: 4294967295
m_RendererPriority: 0
m_Materials:

m_PersistentCalls:
m_Calls:
- m_Target: {fileID: 2007101366}
m_TargetAssemblyTypeName:
m_MethodName: RequestRenderNextUpdate
m_Mode: 1
m_Arguments:

m_LightProbeUsage: 0
m_ReflectionProbeUsage: 1
m_RayTracingMode: 2
m_RayTraceProcedural: 0
m_RenderingLayerMask: 4294967295
m_RendererPriority: 0
m_Materials:

m_MeshMetrics[1]: 1
m_MeshOptimizationFlags: -1
m_StreamData:
serializedVersion: 2
offset: 0
size: 0
path:

2
Packages/manifest.json


"com.unity.render-pipelines.core": "file:../../Packages/ScriptableRenderPipeline/com.unity.render-pipelines.core",
"com.unity.render-pipelines.high-definition": "file:../../Packages/ScriptableRenderPipeline/com.unity.render-pipelines.high-definition",
"com.unity.render-pipelines.high-definition-config": "file:../../Packages/ScriptableRenderPipeline/com.unity.render-pipelines.high-definition-config",
"com.unity.shadergraph": "file:../../Packages/ScriptableRenderPipeline/com.unity.shadergraph"
"com.unity.shadergraph": "file:../../Packages/ScriptableRenderPipeline/com.unity.shadergraph",
"com.unity.textmeshpro": "3.0.0-preview.1",
"com.unity.timeline": "1.3.0-preview.2",
"com.unity.ugui": "1.0.0",

正在加载...
取消
保存