浏览代码

Update PerceptionURP and fix multi-cam issues in URP

/fix_multi_cam
Jon Hogins 3 年前
当前提交
dd2e5baa
共有 9 个文件被更改,包括 1097 次插入0 次删除
  1. 1
      TestProjects/PerceptionURP/Packages/manifest.json
  2. 7
      TestProjects/PerceptionURP/Packages/packages-lock.json
  3. 1
      com.unity.perception/Runtime/GroundTruth/RenderPasses/UrpPasses/InstanceSegmentationUrpPass.cs
  4. 1
      com.unity.perception/Runtime/GroundTruth/RenderPasses/UrpPasses/SemanticSegmentationUrpPass.cs
  5. 1001
      TestProjects/PerceptionURP/Assets/Scenes/MultiCamera.unity
  6. 7
      TestProjects/PerceptionURP/Assets/Scenes/MultiCamera.unity.meta
  7. 63
      TestProjects/PerceptionURP/Assets/Scenes/MultiCameraSettings.lighting
  8. 8
      TestProjects/PerceptionURP/Assets/Scenes/MultiCameraSettings.lighting.meta
  9. 8
      TestProjects/PerceptionURP/Assets/Scenes/SampleScene.meta

1
TestProjects/PerceptionURP/Packages/manifest.json


"com.unity.package-validation-suite": "0.21.1-preview",
"com.unity.perception": "file:../../../com.unity.perception",
"com.unity.render-pipelines.universal": "10.5.1",
"com.unity.scripting.python": "4.0.0-exp.5",
"com.unity.simulation.capture": "0.0.10-preview.16",
"com.unity.simulation.core": "0.0.10-preview.21",
"com.unity.test-framework": "1.1.27",

7
TestProjects/PerceptionURP/Packages/packages-lock.json


},
"url": "https://packages.unity.com"
},
"com.unity.scripting.python": {
"version": "4.0.0-exp.5",
"depth": 0,
"source": "registry",
"dependencies": {},
"url": "https://packages.unity.com"
},
"com.unity.searcher": {
"version": "4.3.2",
"depth": 2,

1
com.unity.perception/Runtime/GroundTruth/RenderPasses/UrpPasses/InstanceSegmentationUrpPass.cs


{
m_InstanceSegmentationPass = new InstanceSegmentationCrossPipelinePass(camera);
ConfigureTarget(targetTexture, targetTexture.depthBuffer);
ConfigureClear(ClearFlag.None, Color.black);
m_InstanceSegmentationPass.Setup();
}

1
com.unity.perception/Runtime/GroundTruth/RenderPasses/UrpPasses/SemanticSegmentationUrpPass.cs


{
m_SemanticSegmentationCrossPipelinePass = new SemanticSegmentationCrossPipelinePass(camera, labelConfig);
ConfigureTarget(targetTexture, targetTexture.depthBuffer);
ConfigureClear(ClearFlag.None, Color.black);
m_SemanticSegmentationCrossPipelinePass.Setup();
}

1001
TestProjects/PerceptionURP/Assets/Scenes/MultiCamera.unity
文件差异内容过多而无法显示
查看文件

7
TestProjects/PerceptionURP/Assets/Scenes/MultiCamera.unity.meta


fileFormatVersion: 2
guid: dedd985999ab74747b95df66909e8029
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

63
TestProjects/PerceptionURP/Assets/Scenes/MultiCameraSettings.lighting


%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!850595691 &4890085278179872738
LightingSettings:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name: MultiCameraSettings
serializedVersion: 3
m_GIWorkflowMode: 1
m_EnableBakedLightmaps: 0
m_EnableRealtimeLightmaps: 1
m_RealtimeEnvironmentLighting: 1
m_BounceScale: 1
m_AlbedoBoost: 1
m_IndirectOutputScale: 1
m_UsingShadowmask: 1
m_BakeBackend: 1
m_LightmapMaxSize: 1024
m_BakeResolution: 40
m_Padding: 2
m_TextureCompression: 1
m_AO: 0
m_AOMaxDistance: 1
m_CompAOExponent: 1
m_CompAOExponentDirect: 0
m_ExtractAO: 0
m_MixedBakeMode: 2
m_LightmapsBakeMode: 1
m_FilterMode: 1
m_LightmapParameters: {fileID: 15204, guid: 0000000000000000f000000000000000, type: 0}
m_ExportTrainingData: 0
m_TrainingDataDestination: TrainingData
m_RealtimeResolution: 2
m_ForceWhiteAlbedo: 0
m_ForceUpdates: 0
m_FinalGather: 0
m_FinalGatherRayCount: 256
m_FinalGatherFiltering: 1
m_PVRCulling: 1
m_PVRSampling: 1
m_PVRDirectSampleCount: 32
m_PVRSampleCount: 500
m_PVREnvironmentSampleCount: 500
m_PVREnvironmentReferencePointCount: 2048
m_LightProbeSampleCountMultiplier: 4
m_PVRBounces: 2
m_PVRMinBounces: 2
m_PVREnvironmentMIS: 0
m_PVRFilteringMode: 2
m_PVRDenoiserTypeDirect: 0
m_PVRDenoiserTypeIndirect: 0
m_PVRDenoiserTypeAO: 0
m_PVRFilterTypeDirect: 0
m_PVRFilterTypeIndirect: 0
m_PVRFilterTypeAO: 0
m_PVRFilteringGaussRadiusDirect: 1
m_PVRFilteringGaussRadiusIndirect: 5
m_PVRFilteringGaussRadiusAO: 2
m_PVRFilteringAtrousPositionSigmaDirect: 0.5
m_PVRFilteringAtrousPositionSigmaIndirect: 2
m_PVRFilteringAtrousPositionSigmaAO: 1

8
TestProjects/PerceptionURP/Assets/Scenes/MultiCameraSettings.lighting.meta


fileFormatVersion: 2
guid: 75bbcdcbda2820b4a933657ce3456134
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 4890085278179872738
userData:
assetBundleName:
assetBundleVariant:

8
TestProjects/PerceptionURP/Assets/Scenes/SampleScene.meta


fileFormatVersion: 2
guid: bce914f0f01b5644c9e61e46a023e596
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
正在加载...
取消
保存