比较提交

...
此合并请求有变更与目标分支冲突。
/.yamato/environments.yml
/TestProjects/PerceptionHDRP/Packages/manifest.json
/TestProjects/PerceptionHDRP/Packages/packages-lock.json
/TestProjects/PerceptionHDRP/Assets/HDRenderPipelineAsset.asset
/TestProjects/PerceptionURP/Packages/manifest.json
/TestProjects/PerceptionURP/Packages/packages-lock.json
/TestProjects/PerceptionURP/ProjectSettings/ProjectVersion.txt
/com.unity.perception/CHANGELOG.md

10 次代码提交

共有 34 个文件被更改,包括 2534 次插入117 次删除
  1. 2
      .github/pull_request_template.md
  2. 12
      .yamato/upm-ci-testprojects.yml
  3. 18
      .yamato/environments.yml
  4. 2
      com.unity.perception/CHANGELOG.md
  5. 54
      com.unity.perception/Tests/Runtime/GroundTruthTests/SegmentationGroundTruthTests.cs
  6. 6
      com.unity.perception/Runtime/GroundTruth/Labelers/InstanceSegmentationLabeler.cs
  7. 3
      com.unity.perception/Runtime/GroundTruth/RenderPasses/HdrpPasses/InstanceSegmentationPass.cs
  8. 3
      com.unity.perception/Runtime/GroundTruth/RenderPasses/HdrpPasses/SemanticSegmentationPass.cs
  9. 6
      com.unity.perception/Runtime/GroundTruth/RenderPasses/CrossPipelinePasses/SemanticSegmentationCrossPipelinePass.cs
  10. 1
      com.unity.perception/Runtime/GroundTruth/RenderPasses/UrpPasses/InstanceSegmentationUrpPass.cs
  11. 1
      com.unity.perception/Runtime/GroundTruth/RenderPasses/UrpPasses/SemanticSegmentationUrpPass.cs
  12. 15
      TestProjects/PerceptionHDRP/ProjectSettings/EditorSettings.asset
  13. 4
      TestProjects/PerceptionHDRP/ProjectSettings/HDRPProjectSettings.asset
  14. 7
      TestProjects/PerceptionHDRP/ProjectSettings/PackageManagerSettings.asset
  15. 4
      TestProjects/PerceptionHDRP/ProjectSettings/ProjectVersion.txt
  16. 2
      TestProjects/PerceptionHDRP/ProjectSettings/QualitySettings.asset
  17. 2
      TestProjects/PerceptionHDRP/ProjectSettings/VFXManager.asset
  18. 128
      TestProjects/PerceptionHDRP/Assets/HDRenderPipelineAsset.asset
  19. 27
      TestProjects/PerceptionHDRP/Assets/CrateMaterial.mat
  20. 110
      TestProjects/PerceptionHDRP/Packages/packages-lock.json
  21. 21
      TestProjects/PerceptionHDRP/Packages/manifest.json
  22. 7
      TestProjects/PerceptionURP/Assets/Settings/ForwardRenderer.asset
  23. 7
      TestProjects/PerceptionURP/ProjectSettings/PackageManagerSettings.asset
  24. 4
      TestProjects/PerceptionURP/ProjectSettings/ProjectVersion.txt
  25. 2
      TestProjects/PerceptionURP/ProjectSettings/URPProjectSettings.asset
  26. 93
      TestProjects/PerceptionURP/Packages/packages-lock.json
  27. 15
      TestProjects/PerceptionURP/Packages/manifest.json
  28. 1001
      TestProjects/PerceptionHDRP/Assets/Scenes/MultiCameraExample.unity
  29. 7
      TestProjects/PerceptionHDRP/Assets/Scenes/MultiCameraExample.unity.meta
  30. 1001
      TestProjects/PerceptionURP/Assets/Scenes/MultiCamera.unity
  31. 7
      TestProjects/PerceptionURP/Assets/Scenes/MultiCamera.unity.meta
  32. 63
      TestProjects/PerceptionURP/Assets/Scenes/MultiCameraSettings.lighting
  33. 8
      TestProjects/PerceptionURP/Assets/Scenes/MultiCameraSettings.lighting.meta
  34. 8
      TestProjects/PerceptionURP/Assets/Scenes/SampleScene.meta

2
.github/pull_request_template.md


# Peer Review Information:
## Editor / Package versioning:
**Editor Version Target**: 2019.4
**Editor Version Target**: 2020.3
## Dev Testing:
**Tests Added**:

12
.yamato/upm-ci-testprojects.yml


- pip install unity-downloader-cli --index-url https://artifactory.prd.it.unity3d.com/artifactory/api/pypi/pypi/simple --upgrade
- unity-downloader-cli -u {{ editor.version }} -c editor -c StandaloneSupport-IL2CPP -c Linux --wait --published
{% if suite.name == "standalone" %}
- utr/utr --testproject=./TestProjects/{{project.name}} --editor-location=./.Editor --reruncount=2 --artifacts_path=test-results --stdout-filter=minimal --extra-editor-arg="--force-d3d11" {{suite.args}}StandaloneWindows64
- utr/utr --testproject=./TestProjects/{{project.name}} --editor-location=./.Editor --reruncount=2 --artifacts_path=test-results --category=!Performance --stdout-filter=minimal --extra-editor-arg="--force-d3d11" {{suite.args}}StandaloneWindows64
- utr/utr --testproject=./TestProjects/{{project.name}} --editor-location=./.Editor --reruncount=2 --artifacts_path=test-results --stdout-filter=minimal --extra-editor-arg="--force-d3d11" {{suite.args}}
- utr/utr --testproject=./TestProjects/{{project.name}} --editor-location=./.Editor --reruncount=2 --artifacts_path=test-results --category=!Performance --stdout-filter=minimal --extra-editor-arg="--force-d3d11" {{suite.args}}
{% endif %}
artifacts:
logs:

commands:
- git submodule update --init --recursive
- unity-downloader-cli -u {{ editor.version }} -c editor -c StandaloneSupport-IL2CPP -c Linux --wait --published
- .\.Editor\Unity.exe -projectPath ./TestProjects/PerceptionHDRP -testPlatform editmode -runTests -automated -testResults test-results -debugCodeOptimization -enableCodeCoverage -coverageResultsPath test-results -coverageOptions enableCyclomaticComplexity;generateHtmlReport;generateBadgeReport;assemblyFilters:+Unity.Perception.Runtime
- .\.Editor\Unity.exe -projectPath ./TestProjects/PerceptionHDRP -testPlatform playmode -runTests -automated -testResults test-results -debugCodeOptimization -enableCodeCoverage -coverageResultsPath test-results -coverageOptions enableCyclomaticComplexity;generateHtmlReport;generateBadgeReport;assemblyFilters:+Unity.Perception.Runtime
- .\.Editor\Unity.exe -projectPath ./TestProjects/PerceptionHDRP -testPlatform editmode -runTests -automated -testResults test-results -debugCodeOptimization -enableCodeCoverage -coverageResultsPath test-results --category=!Performance -coverageOptions enableCyclomaticComplexity;generateHtmlReport;generateBadgeReport;assemblyFilters:+Unity.Perception.Runtime
- .\.Editor\Unity.exe -projectPath ./TestProjects/PerceptionHDRP -testPlatform playmode -runTests -automated -testResults test-results -debugCodeOptimization -enableCodeCoverage -coverageResultsPath test-results --category=!Performance -coverageOptions enableCyclomaticComplexity;generateHtmlReport;generateBadgeReport;assemblyFilters:+Unity.Perception.Runtime
# - .\.Editor\Unity.exe -projectPath ./TestProjects/PerceptionHDRP -debugCodeOptimization -enableCodeCoverage -coverageResultsPath test-results -coverageOptions enableCyclomaticComplexity;generateHtmlReport;generateBadgeReport;
artifacts:
logs:

- git clone git@github.cds.internal.unity3d.com:unity/utr.git utr
- unity-downloader-cli -u {{ editor.version }} -c editor -c StandaloneSupport-IL2CPP -c Linux --wait --published
{% if suite.name == "standalone" %}
- DISPLAY=:0.0 utr/utr --testproject=./TestProjects/{{project.name}} --editor-location=.Editor --reruncount=2 --artifacts_path=test-results --stdout-filter=minimal --extra-editor-arg="--force-vulkan" {{suite.args}}StandaloneLinux64
- DISPLAY=:0.0 utr/utr --testproject=./TestProjects/{{project.name}} --editor-location=.Editor --reruncount=2 --artifacts_path=test-results --stdout-filter=minimal --category=!Performance --extra-editor-arg="--force-vulkan" {{suite.args}}StandaloneLinux64
- DISPLAY=:0.0 utr/utr --testproject=./TestProjects/{{project.name}} --editor-location=.Editor --reruncount=2 --artifacts_path=test-results --stdout-filter=minimal --extra-editor-arg="--force-vulkan" {{suite.args}}
- DISPLAY=:0.0 utr/utr --testproject=./TestProjects/{{project.name}} --editor-location=.Editor --reruncount=2 --artifacts_path=test-results --stdout-filter=minimal --category=!Performance --extra-editor-arg="--force-vulkan" {{suite.args}}
{% endif %}
artifacts:
logs:

18
.yamato/environments.yml


# sticking to 2019.4.6f1 for testing for now because Linux Editor fails to open PerceptionHDRP on 2019.4.8f1
# see https://fogbugz.unity3d.com/default.asp?1273518_d68j5lb6eucglb84
coverage_editors:
- version: 2019.4.18f1
# - version: 2019.4.18f1
- version: 2020.3.16f1
- version: 2019.4.18f1
# - version: 2020.1.15f1
# - version: 2019.4.18f1
- version: 2020.3.16f1
- version: 2019.4.18f1
# - version: 2020.1.3f1
# - version: 2019.4.18f1
- version: 2020.3.16f1
- version: 2019.4.18f1
# - version: 2020.1.15f1
# - version: 2020.2.0a21
# - version: 2019.4.18f1
- version: 2020.3.16f1
publish_platforms:
- name: win

- name: standalone
display_name: standalone
args: --suite=playmode --platform=
suites:
- name: standalone
display_name: standalone

2
com.unity.perception/CHANGELOG.md


Added a `projection` field in the capture.sensor metadata. Values are either "perspective" or "orthographic".
Added support for multiple cameras capturing simultaneously (visualization not yet supported)
### Changed
Changed the JSON serialization key of Normal Sampler's standard deviation property from "standardDeviation" to "stddev". Scneario JSON configurations that were generated using previous versions will need to be manually updated to reflect this change.

54
com.unity.perception/Tests/Runtime/GroundTruthTests/SegmentationGroundTruthTests.cs


Assert.AreEqual(1, timesSegmentationImageReceived);
}
[UnityTest]
public IEnumerator SegmentationPass_WithMultiplePerceptionCameras_ProducesCorrectValues(
[Values(SegmentationKind.Instance, SegmentationKind.Semantic)] SegmentationKind segmentationKind)
{
int timesSegmentationImageReceived = 0;
var color1 = segmentationKind == SegmentationKind.Instance ?
k_InstanceSegmentationPixelValue :
k_SemanticPixelValue;
var color2 = segmentationKind == SegmentationKind.Instance ?
new Color32(0, 74, Byte.MaxValue, Byte.MaxValue) :
new Color32(0, 0, 0, Byte.MaxValue);
void OnCam1SegmentationImageReceived(NativeArray<Color32> data)
{
CollectionAssert.AreEqual(Enumerable.Repeat(color1, data.Length), data);
timesSegmentationImageReceived++;
}
void OnCam2SegmentationImageReceived(NativeArray<Color32> data)
{
Assert.AreEqual(color1, data[data.Length / 4]);
Assert.AreEqual(color2, data[data.Length * 3 / 4]);
timesSegmentationImageReceived++;
}
GameObject cameraObject;
GameObject cameraObject2;
if (segmentationKind == SegmentationKind.Instance)
{
cameraObject = SetupCameraInstanceSegmentation((frame, data, renderTexture) => OnCam1SegmentationImageReceived(data));
cameraObject2 = SetupCameraInstanceSegmentation((frame, data, renderTexture) => OnCam2SegmentationImageReceived(data));
}
else
{
cameraObject = SetupCameraSemanticSegmentation((args) => OnCam1SegmentationImageReceived(args.data), false);
cameraObject2 = SetupCameraSemanticSegmentation((args) => OnCam2SegmentationImageReceived(args.data), false);
}
//position camera to point straight at the top edge of plane1, such that plane1 takes up the bottom half of
//the image and plane2 takes up the top half
cameraObject2.transform.localPosition = Vector3.up * 2.5f;
var plane1 = TestHelper.CreateLabeledPlane(.5f);
var plane2 = TestHelper.CreateLabeledPlane(.5f, "label2");
plane2.transform.localPosition = plane2.transform.localPosition + Vector3.up * 5f;
AddTestObjectForCleanup(plane1);
AddTestObjectForCleanup(plane2);
yield return null;
//destroy the object to force all pending segmented image readbacks to finish and events to be fired.
DestroyTestObject(cameraObject);
DestroyTestObject(cameraObject2);
Assert.AreEqual(2, timesSegmentationImageReceived);
}
[UnityTest]
public IEnumerator SegmentationPassProducesCorrectValuesEachFrame(
[Values(SegmentationKind.Instance, SegmentationKind.Semantic)] SegmentationKind segmentationKind)

6
com.unity.perception/Runtime/GroundTruth/Labelers/InstanceSegmentationLabeler.cs


/// <inheritdoc/>
protected override bool supportsVisualization => true;
static readonly string k_Directory = "InstanceSegmentation" + Guid.NewGuid().ToString();
string directory = "InstanceSegmentation" + Guid.NewGuid().ToString();
const string k_FilePrefix = "Instance_";
/// <summary>

{
m_CurrentTexture = renderTexture;
m_InstancePath = $"{k_Directory}/{k_FilePrefix}{frameCount}.png";
var localPath = $"{Manager.Instance.GetDirectoryFor(k_Directory)}/{k_FilePrefix}{frameCount}.png";
m_InstancePath = $"{directory}/{k_FilePrefix}{frameCount}.png";
var localPath = $"{Manager.Instance.GetDirectoryFor(directory)}/{k_FilePrefix}{frameCount}.png";
var colors = new NativeArray<Color32>(data, Allocator.Persistent);

3
com.unity.perception/Runtime/GroundTruth/RenderPasses/HdrpPasses/InstanceSegmentationPass.cs


protected override void Execute(ScriptableRenderContext renderContext, CommandBuffer cmd, HDCamera hdCamera, CullingResults cullingResult)
{
#endif
if (targetCamera != hdCamera.camera)
return;
CoreUtils.SetRenderTarget(cmd, targetTexture, ClearFlag.All);
m_InstanceSegmentationCrossPipelinePass.Execute(renderContext, cmd, hdCamera.camera, cullingResult);
}

3
com.unity.perception/Runtime/GroundTruth/RenderPasses/HdrpPasses/SemanticSegmentationPass.cs


protected override void Execute(ScriptableRenderContext renderContext, CommandBuffer cmd, HDCamera hdCamera, CullingResults cullingResult)
{
#endif
if (targetCamera != hdCamera.camera)
return;
CoreUtils.SetRenderTarget(cmd, targetTexture);
m_SemanticSegmentationCrossPipelinePass.Execute(renderContext, cmd, hdCamera.camera, cullingResult);
}

6
com.unity.perception/Runtime/GroundTruth/RenderPasses/CrossPipelinePasses/SemanticSegmentationCrossPipelinePass.cs


const string k_ShaderName = "Perception/SemanticSegmentation";
static readonly int k_LabelingId = Shader.PropertyToID("LabelingId");
static int s_LastFrameExecuted = -1;
int lastFrameExecuted = -1;
SemanticSegmentationLabelConfig m_LabelConfig;

protected override void ExecutePass(
ScriptableRenderContext renderContext, CommandBuffer cmd, Camera camera, CullingResults cullingResult)
{
if (s_LastFrameExecuted == Time.frameCount)
if (lastFrameExecuted == Time.frameCount)
s_LastFrameExecuted = Time.frameCount;
lastFrameExecuted = Time.frameCount;
var renderList = CreateRendererListDesc(camera, cullingResult, "FirstPass", 0, m_OverrideMaterial, -1);
cmd.ClearRenderTarget(true, true, m_LabelConfig.skyColor);
DrawRendererList(renderContext, cmd, RendererList.Create(renderList));

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();
}

15
TestProjects/PerceptionHDRP/ProjectSettings/EditorSettings.asset


--- !u!159 &1
EditorSettings:
m_ObjectHideFlags: 0
serializedVersion: 9
m_ExternalVersionControlSupport: Visible Meta Files
serializedVersion: 11
m_SerializationMode: 2
m_LineEndingsForNewScripts: 2
m_DefaultBehaviorMode: 0

m_EtcTextureBestCompressor: 4
m_ProjectGenerationIncludedExtensions: txt;xml;fnt;cd;asmdef;rsp;asmref
m_ProjectGenerationRootNamespace:
m_CollabEditorSettings:
inProgressEnabled: 1
m_CachingShaderPreprocessor: 1
m_PrefabModeAllowAutoSave: 1
m_ShowLightmapResolutionOverlay: 1
m_GameObjectNamingDigits: 1
m_GameObjectNamingScheme: 0
m_AssetNamingUsesSpace: 1
m_SerializeInlineMappingsOnOneLine: 0
m_DisableCookiesInLightmapper: 0
m_AssetPipelineMode: 1
m_CacheServerMode: 0
m_CacheServerEndpoint:

m_CacheServerEnableAuth: 0
m_CacheServerEnableTls: 0

4
TestProjects/PerceptionHDRP/ProjectSettings/HDRPProjectSettings.asset


m_Name:
m_EditorClassIdentifier:
version: 1
m_DefaultScenePrefabSaved: {fileID: 0}
m_DefaultDXRScenePrefabSaved: {fileID: 0}
m_ProjectSettingFolderPath: HDRPDefaultResources
m_WizardPopupAtStart: 0
m_WizardPopupAlreadyShownOnce: 0

m_LastMaterialVersion: 2
m_LastMaterialVersion: 11

7
TestProjects/PerceptionHDRP/ProjectSettings/PackageManagerSettings.asset


m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 13960, guid: 0000000000000000e000000000000000, type: 0}
m_Script: {fileID: 13964, guid: 0000000000000000e000000000000000, type: 0}
m_EnablePreviewPackages: 0
m_EnablePackageDependencies: 0
m_AdvancedSettingsExpanded: 1
m_ScopedRegistriesSettingsExpanded: 1
oneTimeWarningShown: 0
m_Registries:

m_Scopes: []
m_IsDefault: 1
m_Capabilities: 7
m_UserSelectedRegistryName:
m_UserAddingNewScopedRegistry: 0
m_RegistryInfoDraft:

m_Url:
m_Scopes: []
m_IsDefault: 0
m_Capabilities: 0
m_Modified: 0
m_Name:
m_Url:

4
TestProjects/PerceptionHDRP/ProjectSettings/ProjectVersion.txt


m_EditorVersion: 2019.4.19f1
m_EditorVersionWithRevision: 2019.4.19f1 (ca5b14067cec)
m_EditorVersion: 2020.3.16f1
m_EditorVersionWithRevision: 2020.3.16f1 (049d6eca3c44)

2
TestProjects/PerceptionHDRP/ProjectSettings/QualitySettings.asset


realtimeReflectionProbes: 1
billboardsFaceCameraPosition: 1
vSyncCount: 1
lodBias: 2
lodBias: 1
maximumLODLevel: 0
streamingMipmapsActive: 0
streamingMipmapsAddAllCameras: 1

2
TestProjects/PerceptionHDRP/ProjectSettings/VFXManager.asset


m_RenderPipeSettingsPath:
m_FixedTimeStep: 0.016666668
m_MaxDeltaTime: 0.05
m_CompiledVersion: 2
m_RuntimeVersion: 12

128
TestProjects/PerceptionHDRP/Assets/HDRenderPipelineAsset.asset


m_Script: {fileID: 11500000, guid: 0cf1dab834d4ec34195b920ea7bbf9ec, type: 3}
m_Name: HDRenderPipelineAsset
m_EditorClassIdentifier:
m_Version: 14
m_Version: 18
m_ObsoleteFrameSettings:
overrides: 0
enableShadow: 0

type: 2}
m_RenderPipelineRayTracingResources: {fileID: 0}
m_DefaultVolumeProfile: {fileID: 0}
m_LensAttenuation: 0
m_UseRenderGraph: 1
data1: 70280697347933
data2: 4539628425463136256
data1: 140649441525597
data2: 4539628425463136280
lodBias: 1
lodBiasMode: 0
lodBiasQualityLevel: 0

sssQualityMode: 0
sssQualityLevel: 0
sssCustomSampleBudget: 20
data1: 64942043591453
data2: 4539628424389459968
data1: 135310787769117
data2: 4539628424389459992
lodBias: 1
lodBiasMode: 0
lodBiasQualityLevel: 0

sssQualityMode: 0
sssQualityLevel: 0
sssCustomSampleBudget: 20
data1: 69692120112925
data2: 4539628424657895424
data1: 140060864290589
data2: 4539628424657895448
lodBias: 1
lodBiasMode: 0
lodBiasQualityLevel: 0

sssQualityMode: 0
sssQualityLevel: 0
sssCustomSampleBudget: 20
supportSSRTransparent: 0
supportSSGI: 0
increaseSssSampleCount: 0
sssSampleBudget:
m_Values: 140000002800000050000000
m_SchemaId:
m_Id: With3Levels
increaseResolutionOfVolumetrics: 0
supportLightLayers: 0
lightLayerName0: Light Layer default
lightLayerName1: Light Layer 1

supportCustomPass: 1
customBufferFormat: 12
supportedLitShaderMode: 3
planarReflectionResolution:
m_Values: 000100000004000000080000
m_SchemaId:
m_Id: With3Levels
supportDecalLayers: 0
decalLayerName0: Decal Layer default
decalLayerName1: Decal Layer 1
decalLayerName2: Decal Layer 2
decalLayerName3: Decal Layer 3
decalLayerName4: Decal Layer 4
decalLayerName5: Decal Layer 5
decalLayerName6: Decal Layer 6
decalLayerName7: Decal Layer 7
supportRuntimeAOVAPI: 0
supportProbeVolume: 0
supportedRayTracingMode: 3
probeVolumeSettings:
atlasResolution: 128
atlasOctahedralDepthResolution: 2048
pointCookieSize: 128
cubeCookieTexArraySize: 16
cookieAtlasLastValidMip: 0
cookieTexArraySize: 16
planarReflectionAtlasSize: 4096

planarReflectionCacheCompressed: 0
reflectionProbeFormat: 74
skyReflectionSize: 256
skyLightingOverrideLayerMask:
serializedVersion: 2

maxEnvLightsOnScreen: 64
maxDecalsOnScreen: 512
maxPlanarReflectionOnScreen: 16
maxLightsPerClusterCell: 8
hdShadowInitParams:
maxShadowRequests: 128
directionalShadowsDepthBits: 32

shadowAtlasResolution: 4096
shadowAtlasDepthBits: 32
useDynamicViewportRescale: 1
cachedPunctualLightShadowAtlas: 2048
cachedAreaLightShadowAtlas: 1024
shadowResolutionDirectional:
m_Values: 00010000000200000004000000080000
m_SchemaId:

xrSettings:
singlePass: 1
occlusionMesh: 1
cameraJitter: 0
postProcessQualitySettings:
NearBlurSampleCount: 030000000500000008000000
NearBlurMaxRadius:

- 13
DoFResolution: 040000000200000001000000
DoFHighQualityFiltering: 000101
DoFPhysicallyBased: 000000
BloomHighQualityPrefiltering: 000001
ChromaticAberrationMaxSamples: 03000000060000000c000000
lightSettings:
useContactShadow:

AODirectionCount: 010000000200000004000000
ContactShadowSampleCount: 060000000a00000010000000
SSRMaxRaySteps: 100000002000000040000000
RTAORayLength:
- 0.5
- 3
- 20
RTAOSampleCount: 010000000200000008000000
RTAODenoise: 010101
RTAODenoiserRadius:
- 0.25
- 0.5
- 0.65
RTGIRayLength:
- 50
- 50
- 50
RTGIFullResolution: 000001
RTGIClampValue:
- 0.5
- 0.8
- 1.5
RTGIUpScaleRadius: 040000000400000004000000
RTGIDenoise: 010101
RTGIHalfResDenoise: 010000
RTGIDenoiserRadius:
- 0.75
- 0.5
- 0.25
RTGISecondDenoise: 010101
RTGISecondDenoiserRadius:
- 0
- 0
- 0
RTRMinSmoothness:
- 0.6
- 0.4
- 0
RTRSmoothnessFadeStart:
- 0.7
- 0.5
- 0
RTRRayLength:
- 50
- 50
- 50
RTRClampValue:
- 0.8
- 1
- 1.2
RTRUpScaleRadius: 040000000400000003000000
RTRFullResolution: 000001
RTRDenoise: 010101
RTRDenoiserRadius: 080000000c00000010000000
Fog_ControlMode: 000000000000000000000000
Fog_Budget:
- 0.166
- 0.33
- 0.666
Fog_DepthRatio:
- 0.666
- 0.666
- 0.5
allowShaderVariantStripping: 1
enableSRPBatcher: 1
shaderVariantLogLevel: 0

diffusionProfileSettingsList: []
beforeTransparentCustomPostProcesses: []
beforeTAACustomPostProcesses: []
virtualTexturingSettings:
streamingCpuCacheSizeInMegaBytes: 256
streamingGpuCacheSettings:
- format: 0
sizeInMegaBytes: 128

27
TestProjects/PerceptionHDRP/Assets/CrateMaterial.mat


m_Script: {fileID: 11500000, guid: da692e001514ec24dbc4cca1949ff7e8, type: 3}
m_Name:
m_EditorClassIdentifier:
version: 2
version: 11
--- !u!21 &2100000
Material:
serializedVersion: 6

m_PrefabAsset: {fileID: 0}
m_Name: CrateMaterial
m_Shader: {fileID: 4800000, guid: 6e4ae4064600d784cac1e41a9e6f2e59, type: 3}
m_ShaderKeywords: _NORMALMAP_TANGENT_SPACE
m_ShaderKeywords: _DISABLE_SSR_TRANSPARENT _NORMALMAP_TANGENT_SPACE
m_CustomRenderQueue: -1
m_CustomRenderQueue: 2225
stringTagMap: {}
disabledShaderPasses:
- DistortionVectors

- TransparentBackface
- RayTracingPrepass
m_SavedProperties:
serializedVersion: 3
m_TexEnvs:

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_Floats:
- _AORemapMax: 1
- _AORemapMin: 0

- _AlphaCutoffShadow: 0.5
- _AlphaDstBlend: 0
- _AlphaSrcBlend: 1
- _AlphaToMask: 0
- _AlphaToMaskInspectorValue: 0
- _Anisotropy: 0
- _BlendMode: 0
- _CoatMask: 0

- _LinkDetailsWithBase: 1
- _MaterialID: 1
- _Metallic: 0.28
- _MetallicRemapMax: 0.28
- _MetallicRemapMin: 0
- _OpaqueCullMode: 2
- _RayTracing: 0
- _ReceivesSSRTransparent: 0
- _RefractionModel: 0
- _SSRefractionProjectionModel: 0
- _Smoothness: 0.667

- _UVDetailsMappingMask: {r: 1, g: 0, b: 0, a: 0}
- _UVMappingMask: {r: 1, g: 0, b: 0, a: 0}
- _UVMappingMaskEmissive: {r: 1, g: 0, b: 0, a: 0}
m_BuildTextureStacks: []

110
TestProjects/PerceptionHDRP/Packages/packages-lock.json


"url": "https://packages.unity.com"
},
"com.unity.collab-proxy": {
"version": "1.2.16",
"version": "1.7.1",
"dependencies": {},
"dependencies": {
"com.unity.nuget.newtonsoft-json": "2.0.0"
},
"url": "https://packages.unity.com"
},
"com.unity.collections": {

"url": "https://packages.unity.com"
},
"com.unity.ide.rider": {
"version": "1.1.4",
"version": "2.0.7",
"depth": 0,
"source": "registry",
"dependencies": {

},
"com.unity.ide.visualstudio": {
"version": "2.0.11",
"depth": 0,
"source": "registry",
"dependencies": {
"com.unity.test-framework": "1.1.9"
},
"url": "https://packages.unity.com"
},
"com.unity.ide.vscode": {
"version": "1.2.3",
"depth": 0,

"dependencies": {},
"url": "https://packages.unity.com"
},
"com.unity.nuget.mono-cecil": {
"version": "0.1.6-preview.2",
"depth": 1,
"source": "registry",
"dependencies": {
"nuget.mono-cecil": "0.1.6-preview"
},
"url": "https://packages.unity.com"
},
"version": "2.0.0-preview",
"depth": 3,
"version": "2.0.0",
"depth": 1,
"version": "0.9.1-preview",
"version": "0.21.1-preview",
"nuget.mono-cecil": "0.1.6-preview"
"com.unity.nuget.mono-cecil": "0.1.6-preview.2"
},
"url": "https://packages.unity.com"
},

}
},
"com.unity.render-pipelines.core": {
"version": "7.3.1",
"version": "10.5.1",
"depth": 0,
"source": "registry",
"dependencies": {

},
"com.unity.render-pipelines.high-definition": {
"version": "7.3.1",
"version": "10.5.1",
"com.unity.render-pipelines.core": "7.3.1",
"com.unity.shadergraph": "7.3.1",
"com.unity.visualeffectgraph": "7.3.1",
"com.unity.render-pipelines.high-definition-config": "7.3.1"
"com.unity.render-pipelines.core": "10.5.1",
"com.unity.shadergraph": "10.5.1",
"com.unity.visualeffectgraph": "10.5.1",
"com.unity.render-pipelines.high-definition-config": "10.5.1"
"version": "7.3.1",
"version": "10.5.1",
"com.unity.render-pipelines.core": "7.3.1"
"com.unity.render-pipelines.core": "10.5.1"
"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,
"source": "registry",
"dependencies": {},
"url": "https://packages.unity.com"
},
"com.unity.settings-manager": {
"version": "1.0.1",
"depth": 1,
"source": "registry",
"dependencies": {},
"url": "https://packages.unity.com"
},
"version": "7.3.1",
"version": "10.5.1",
"com.unity.render-pipelines.core": "7.3.1"
"com.unity.render-pipelines.core": "10.5.1",
"com.unity.searcher": "4.3.2"
"depth": 1,
"depth": 0,
"source": "registry",
"dependencies": {
"com.unity.simulation.core": "0.0.10-preview.25"

"url": "https://packages.unity.com"
},
"com.unity.simulation.core": {
"version": "0.0.10-preview.25",
"depth": 2,
"version": "0.0.10-preview.26",
"depth": 0,
"source": "registry",
"dependencies": {
"com.unity.nuget.newtonsoft-json": "2.0.0-preview"

"com.unity.test-framework": {
"version": "1.1.20",
"version": "1.1.27",
"depth": 0,
"source": "registry",
"dependencies": {

"url": "https://packages.unity.com"
},
"com.unity.testtools.codecoverage": {
"version": "0.2.2-preview",
"version": "1.1.0",
"com.unity.test-framework": "1.0.16"
"com.unity.test-framework": "1.0.16",
"com.unity.settings-manager": "1.0.1"
"version": "2.0.1",
"version": "3.0.6",
"depth": 0,
"source": "registry",
"dependencies": {

}
},
"com.unity.visualeffectgraph": {
"version": "7.3.1",
"version": "10.5.1",
"com.unity.shadergraph": "7.3.1"
"com.unity.shadergraph": "10.5.1",
"com.unity.render-pipelines.core": "10.5.1"
},
"url": "https://packages.unity.com"
},

},
"nuget.mono-cecil": {
"version": "0.1.6-preview",
"depth": 1,
"depth": 2,
"source": "registry",
"dependencies": {},
"url": "https://packages.unity.com"

"depth": 0,
"source": "builtin",
"dependencies": {
"com.unity.modules.ui": "1.0.0",
"com.unity.modules.imgui": "1.0.0",
"com.unity.modules.jsonserialize": "1.0.0",
"com.unity.modules.uielementsnative": "1.0.0"
}
},
"com.unity.modules.uielementsnative": {
"version": "1.0.0",
"depth": 1,
"source": "builtin",
"dependencies": {
"com.unity.modules.ui": "1.0.0",
"com.unity.modules.imgui": "1.0.0",
"com.unity.modules.jsonserialize": "1.0.0"
}

21
TestProjects/PerceptionHDRP/Packages/manifest.json


{
"dependencies": {
"com.unity.collab-proxy": "1.2.16",
"com.unity.collab-proxy": "1.7.1",
"com.unity.ide.rider": "1.1.4",
"com.unity.ide.rider": "2.0.7",
"com.unity.ide.visualstudio": "2.0.11",
"com.unity.package-validation-suite": "0.9.1-preview",
"com.unity.package-validation-suite": "0.21.1-preview",
"com.unity.render-pipelines.core": "7.3.1",
"com.unity.render-pipelines.high-definition": "7.3.1",
"com.unity.simulation.capture": "0.0.10-preview.16",
"com.unity.simulation.core": "0.0.10-preview.21",
"com.unity.test-framework": "1.1.20",
"com.unity.testtools.codecoverage": "0.2.2-preview",
"com.unity.textmeshpro": "2.0.1",
"com.unity.render-pipelines.core": "10.5.1",
"com.unity.render-pipelines.high-definition": "10.5.1",
"com.unity.simulation.capture": "0.0.10-preview.23",
"com.unity.simulation.core": "0.0.10-preview.26",
"com.unity.test-framework": "1.1.27",
"com.unity.testtools.codecoverage": "1.1.0",
"com.unity.textmeshpro": "3.0.6",
"com.unity.ugui": "1.0.0",
"nuget.moq": "1.0.0",
"com.unity.modules.ai": "1.0.0",

7
TestProjects/PerceptionURP/Assets/Settings/ForwardRenderer.asset


- {fileID: 5741507687788441411}
m_RendererFeatureMap:
postProcessData: {fileID: 11400000, guid: 41439944d30ece34e96484bdb6645b55, type: 2}
xrSystemData: {fileID: 11400000, guid: 60e1133243b97e347b653163a8c01b64, type: 2}
shaders:
blitPS: {fileID: 4800000, guid: c17132b1f77d20942aa75f8429c0f8bc, type: 3}
copyDepthPS: {fileID: 4800000, guid: d6dae50ee9e1bfa4db75f19f99355220, type: 3}

tileDepthInfoPS: {fileID: 0}
tileDeferredPS: {fileID: 0}
stencilDeferredPS: {fileID: 4800000, guid: e9155b26e1bc55942a41e518703fe304, type: 3}
materialErrorPS: {fileID: 4800000, guid: 5fd9a8feb75a4b5894c241777f519d4e, type: 3}
m_OpaqueLayerMask:
serializedVersion: 2
m_Bits: 4294967295

failOperation: 0
zFailOperation: 0
m_ShadowTransparentReceive: 1
m_RenderingMode: 0
m_AccurateGbufferNormals: 0
--- !u!114 &5741507687788441411
MonoBehaviour:
m_ObjectHideFlags: 0

7
TestProjects/PerceptionURP/ProjectSettings/PackageManagerSettings.asset


m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 13960, guid: 0000000000000000e000000000000000, type: 0}
m_Script: {fileID: 13964, guid: 0000000000000000e000000000000000, type: 0}
m_EnablePreviewPackages: 0
m_EnablePackageDependencies: 0
m_AdvancedSettingsExpanded: 1
m_ScopedRegistriesSettingsExpanded: 1
oneTimeWarningShown: 0
m_Registries:

m_Scopes: []
m_IsDefault: 1
m_Capabilities: 7
m_UserSelectedRegistryName:
m_UserAddingNewScopedRegistry: 0
m_RegistryInfoDraft:

m_Url:
m_Scopes: []
m_IsDefault: 0
m_Capabilities: 0
m_Modified: 0
m_Name:
m_Url:

4
TestProjects/PerceptionURP/ProjectSettings/ProjectVersion.txt


m_EditorVersion: 2019.4.19f1
m_EditorVersionWithRevision: 2019.4.19f1 (ca5b14067cec)
m_EditorVersion: 2020.3.16f1
m_EditorVersionWithRevision: 2020.3.16f1 (049d6eca3c44)

2
TestProjects/PerceptionURP/ProjectSettings/URPProjectSettings.asset


m_Script: {fileID: 11500000, guid: 247994e1f5a72c2419c26a37e9334c01, type: 3}
m_Name:
m_EditorClassIdentifier:
m_LastMaterialVersion: 1
m_LastMaterialVersion: 4

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


"url": "https://packages.unity.com"
},
"com.unity.collab-proxy": {
"version": "1.2.16",
"version": "1.7.1",
"dependencies": {},
"dependencies": {
"com.unity.nuget.newtonsoft-json": "2.0.0"
},
"url": "https://packages.unity.com"
},
"com.unity.collections": {

},
"com.unity.ext.nunit": {
"version": "1.0.6",
"depth": 2,
"depth": 1,
"version": "1.1.4",
"version": "2.0.7",
"depth": 0,
"source": "registry",
"dependencies": {

},
"com.unity.ide.visualstudio": {
"version": "2.0.11",
"depth": 0,
"source": "registry",
"dependencies": {
"com.unity.test-framework": "1.1.9"
},
"url": "https://packages.unity.com"
},
"com.unity.ide.vscode": {
"version": "1.2.3",
"depth": 0,

"dependencies": {},
"url": "https://packages.unity.com"
},
"com.unity.nuget.mono-cecil": {
"version": "0.1.6-preview.2",
"depth": 1,
"source": "registry",
"dependencies": {
"nuget.mono-cecil": "0.1.6-preview"
},
"url": "https://packages.unity.com"
},
"version": "2.0.0-preview",
"depth": 3,
"version": "2.0.0",
"depth": 1,
"version": "0.9.1-preview",
"version": "0.21.1-preview",
"nuget.mono-cecil": "0.1.6-preview"
"com.unity.nuget.mono-cecil": "0.1.6-preview.2"
},
"url": "https://packages.unity.com"
},

}
},
"com.unity.render-pipelines.core": {
"version": "7.3.1",
"version": "10.5.1",
"depth": 1,
"source": "registry",
"dependencies": {

},
"com.unity.render-pipelines.universal": {
"version": "7.3.1",
"version": "10.5.1",
"com.unity.render-pipelines.core": "7.3.1",
"com.unity.shadergraph": "7.3.1"
"com.unity.mathematics": "1.1.0",
"com.unity.render-pipelines.core": "10.5.1",
"com.unity.shadergraph": "10.5.1"
"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,
"source": "registry",
"dependencies": {},
"url": "https://packages.unity.com"
},
"version": "7.3.1",
"version": "10.5.1",
"com.unity.render-pipelines.core": "7.3.1"
"com.unity.render-pipelines.core": "10.5.1",
"com.unity.searcher": "4.3.2"
},
"url": "https://packages.unity.com"
},

"url": "https://packages.unity.com"
},
"com.unity.test-framework": {
"version": "1.1.19",
"version": "1.1.27",
"com.unity.ext.nunit": "1.0.5",
"com.unity.ext.nunit": "1.0.6",
"com.unity.modules.imgui": "1.0.0",
"com.unity.modules.jsonserialize": "1.0.0"
},

"url": "https://packages.unity.com"
},
"com.unity.textmeshpro": {
"version": "2.0.1",
"version": "3.0.6",
"depth": 0,
"source": "registry",
"dependencies": {

},
"com.unity.timeline": {
"version": "1.2.12",
"version": "1.4.8",
"dependencies": {},
"dependencies": {
"com.unity.modules.director": "1.0.0",
"com.unity.modules.animation": "1.0.0",
"com.unity.modules.audio": "1.0.0",
"com.unity.modules.particlesystem": "1.0.0"
},
"url": "https://packages.unity.com"
},
"com.unity.ugui": {

},
"nuget.mono-cecil": {
"version": "0.1.6-preview",
"depth": 1,
"depth": 2,
"source": "registry",
"dependencies": {},
"url": "https://packages.unity.com"

"depth": 0,
"source": "builtin",
"dependencies": {
"com.unity.modules.ui": "1.0.0",
"com.unity.modules.imgui": "1.0.0",
"com.unity.modules.jsonserialize": "1.0.0",
"com.unity.modules.uielementsnative": "1.0.0"
}
},
"com.unity.modules.uielementsnative": {
"version": "1.0.0",
"depth": 1,
"source": "builtin",
"dependencies": {
"com.unity.modules.ui": "1.0.0",
"com.unity.modules.imgui": "1.0.0",
"com.unity.modules.jsonserialize": "1.0.0"
}

15
TestProjects/PerceptionURP/Packages/manifest.json


{
"dependencies": {
"com.unity.collab-proxy": "1.2.16",
"com.unity.ide.rider": "1.1.4",
"com.unity.collab-proxy": "1.7.1",
"com.unity.ide.rider": "2.0.7",
"com.unity.ide.visualstudio": "2.0.11",
"com.unity.package-validation-suite": "0.9.1-preview",
"com.unity.package-validation-suite": "0.21.1-preview",
"com.unity.render-pipelines.universal": "7.3.1",
"com.unity.render-pipelines.universal": "10.5.1",
"com.unity.test-framework": "1.1.19",
"com.unity.textmeshpro": "2.0.1",
"com.unity.timeline": "1.2.12",
"com.unity.test-framework": "1.1.27",
"com.unity.textmeshpro": "3.0.6",
"com.unity.timeline": "1.4.8",
"com.unity.ugui": "1.0.0",
"nuget.moq": "1.0.0",
"com.unity.modules.ai": "1.0.0",

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

7
TestProjects/PerceptionHDRP/Assets/Scenes/MultiCameraExample.unity.meta


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

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:
正在加载...
取消
保存