浏览代码

some tests local commit only

/semantic_shader_tests
Mohsen Kamalzadeh 3 年前
当前提交
c1a54814
共有 130 个文件被更改,包括 5707 次插入53 次删除
  1. 5
      TestProjects/PerceptionHDRP/ProjectSettings/EditorBuildSettings.asset
  2. 1
      TestProjects/PerceptionHDRP/ProjectSettings/GraphicsSettings.asset
  3. 8
      TestProjects/PerceptionURP/Assets/IdLabelConfig.asset
  4. 620
      TestProjects/PerceptionURP/Assets/Scenes/SampleScene.unity
  5. 12
      TestProjects/PerceptionURP/Assets/SemanticSegmentationLabelingConfiguration.asset
  6. 2
      TestProjects/PerceptionURP/Assets/Settings/ForwardRenderer.asset
  7. 1
      TestProjects/PerceptionURP/Packages/manifest.json
  8. 30
      TestProjects/PerceptionURP/Packages/packages-lock.json
  9. 5
      TestProjects/PerceptionURP/ProjectSettings/QualitySettings.asset
  10. 1
      com.unity.perception/Runtime/GroundTruth/Labelers/Visualization/Materials/SegmentationMaterial.mat
  11. 2
      com.unity.perception/Runtime/GroundTruth/RenderPasses/CrossPipelinePasses/GroundTruthCrossPipelinePass.cs
  12. 29
      com.unity.perception/Runtime/GroundTruth/RenderPasses/CrossPipelinePasses/InstanceSegmentationCrossPipelinePass.cs
  13. 42
      com.unity.perception/Runtime/GroundTruth/RenderPasses/CrossPipelinePasses/SemanticSegmentationCrossPipelinePass.cs
  14. 39
      com.unity.perception/Runtime/GroundTruth/Resources/InstanceSegmentation.shader
  15. 62
      com.unity.perception/Runtime/GroundTruth/Resources/SemanticSegmentation.shader
  16. 8
      TestProjects/PerceptionHDRP/Assets/Resources.meta
  17. 8
      TestProjects/PerceptionHDRP/Assets/Samples.meta
  18. 90
      TestProjects/PerceptionURP/Assets/Lit.mat
  19. 8
      TestProjects/PerceptionURP/Assets/Lit.mat.meta
  20. 8
      TestProjects/PerceptionURP/Assets/Materials.meta
  21. 91
      TestProjects/PerceptionURP/Assets/New Material.mat
  22. 8
      TestProjects/PerceptionURP/Assets/New Material.mat.meta
  23. 58
      TestProjects/PerceptionURP/Assets/NewUnlitShader.shader
  24. 9
      TestProjects/PerceptionURP/Assets/NewUnlitShader.shader.meta
  25. 8
      TestProjects/PerceptionURP/Assets/Samples.meta
  26. 8
      TestProjects/PerceptionURP/Assets/Scenes/SampleScene.meta
  27. 1001
      TestProjects/PerceptionURP/Assets/Scenes/TransparencyTests.unity
  28. 7
      TestProjects/PerceptionURP/Assets/Scenes/TransparencyTests.unity.meta
  29. 56
      TestProjects/PerceptionURP/Assets/TestShader.shader
  30. 9
      TestProjects/PerceptionURP/Assets/TestShader.shader.meta
  31. 60
      TestProjects/PerceptionURP/Assets/TestShader2.shader
  32. 9
      TestProjects/PerceptionURP/Assets/TestShader2.shader.meta
  33. 8
      TestProjects/PerceptionURP/Assets/sebastian.meta
  34. 8
      TestProjects/PerceptionURP/Assets/test_border.png
  35. 92
      TestProjects/PerceptionURP/Assets/test_border.png.meta
  36. 1001
      TestProjects/PerceptionURP/Assets/test_gradient.png
  37. 92
      TestProjects/PerceptionURP/Assets/test_gradient.png.meta
  38. 23
      TestProjects/PerceptionURP/Assets/testext-transback.png
  39. 92
      TestProjects/PerceptionURP/Assets/testext-transback.png.meta
  40. 43
      TestProjects/PerceptionURP/Assets/testext.png
  41. 92
      TestProjects/PerceptionURP/Assets/testext.png.meta
  42. 1001
      TestProjects/PerceptionURP/Assets/testtex-semitrans.png
  43. 92
      TestProjects/PerceptionURP/Assets/testtex-semitrans.png.meta
  44. 20
      TestProjects/PerceptionURP/Assets/testtext-small-mask.png
  45. 92
      TestProjects/PerceptionURP/Assets/testtext-small-mask.png.meta
  46. 23
      TestProjects/PerceptionURP/Assets/testtext.png
  47. 92
      TestProjects/PerceptionURP/Assets/testtext.png.meta
  48. 91
      TestProjects/PerceptionURP/Assets/transparent.mat
  49. 8
      TestProjects/PerceptionURP/Assets/transparent.mat.meta
  50. 11
      com.unity.perception/Runtime/GroundTruth/Labeling/SemanticSegmentationBehaviour.cs
  51. 11
      com.unity.perception/Runtime/GroundTruth/Labeling/SemanticSegmentationBehaviour.cs.meta
  52. 8
      TestProjects/PerceptionHDRP/Assets/Samples/Perception.meta
  53. 8
      TestProjects/PerceptionHDRP/Assets/Samples/Perception/0.8.0-preview.2.meta
  54. 8
      TestProjects/PerceptionHDRP/Assets/Samples/Perception/0.8.0-preview.2/Tutorial Files.meta
  55. 8
      TestProjects/PerceptionHDRP/Assets/Samples/Perception/0.8.0-preview.2/Tutorial Files/Background Objects.meta
  56. 8
      TestProjects/PerceptionHDRP/Assets/Samples/Perception/0.8.0-preview.2/Tutorial Files/Background Objects/Materials.meta
  57. 8
      TestProjects/PerceptionHDRP/Assets/Samples/Perception/0.8.0-preview.2/Tutorial Files/Background Objects/Models.meta
  58. 8
      TestProjects/PerceptionHDRP/Assets/Samples/Perception/0.8.0-preview.2/Tutorial Files/Background Objects/Prefabs.meta
  59. 8
      TestProjects/PerceptionHDRP/Assets/Samples/Perception/0.8.0-preview.2/Tutorial Files/Background Textures.meta
  60. 8
      TestProjects/PerceptionHDRP/Assets/Samples/Perception/0.8.0-preview.2/Tutorial Files/Background Textures/Avocado.meta
  61. 8
      TestProjects/PerceptionHDRP/Assets/Samples/Perception/0.8.0-preview.2/Tutorial Files/Background Textures/Kiwi.meta
  62. 8
      TestProjects/PerceptionHDRP/Assets/Samples/Perception/0.8.0-preview.2/Tutorial Files/Background Textures/Lime.meta
  63. 8
      TestProjects/PerceptionHDRP/Assets/Samples/Perception/0.8.0-preview.2/Tutorial Files/Background Textures/Melon.meta
  64. 8
      TestProjects/PerceptionHDRP/Assets/Samples/Perception/0.8.0-preview.2/Tutorial Files/Background Textures/Melon/Cantaloupe.meta
  65. 8
      TestProjects/PerceptionHDRP/Assets/Samples/Perception/0.8.0-preview.2/Tutorial Files/Background Textures/Melon/Galia-Melon.meta
  66. 8
      TestProjects/PerceptionHDRP/Assets/Samples/Perception/0.8.0-preview.2/Tutorial Files/Background Textures/Melon/Honeydew-Melon.meta
  67. 8
      TestProjects/PerceptionHDRP/Assets/Samples/Perception/0.8.0-preview.2/Tutorial Files/Background Textures/Melon/Watermelon.meta
  68. 8
      TestProjects/PerceptionHDRP/Assets/Samples/Perception/0.8.0-preview.2/Tutorial Files/Background Textures/Orange.meta
  69. 8
      TestProjects/PerceptionHDRP/Assets/Samples/Perception/0.8.0-preview.2/Tutorial Files/Background Textures/Passion-Fruit.meta
  70. 8
      TestProjects/PerceptionHDRP/Assets/Samples/Perception/0.8.0-preview.2/Tutorial Files/Background Textures/Pear.meta
  71. 8
      TestProjects/PerceptionHDRP/Assets/Samples/Perception/0.8.0-preview.2/Tutorial Files/Background Textures/Pear/Anjou.meta
  72. 8
      TestProjects/PerceptionHDRP/Assets/Samples/Perception/0.8.0-preview.2/Tutorial Files/Background Textures/Pear/Conference.meta
  73. 8
      TestProjects/PerceptionHDRP/Assets/Samples/Perception/0.8.0-preview.2/Tutorial Files/Background Textures/Pear/Kaiser.meta
  74. 8
      TestProjects/PerceptionHDRP/Assets/Samples/Perception/0.8.0-preview.2/Tutorial Files/Background Textures/Plum.meta
  75. 8
      TestProjects/PerceptionHDRP/Assets/Samples/Perception/0.8.0-preview.2/Tutorial Files/Background Textures/Red-Grapefruit.meta
  76. 8
      TestProjects/PerceptionHDRP/Assets/Samples/Perception/0.8.0-preview.2/Tutorial Files/Foreground Objects.meta
  77. 8
      TestProjects/PerceptionHDRP/Assets/Samples/Perception/0.8.0-preview.2/Tutorial Files/Foreground Objects/Phase 1.meta
  78. 8
      TestProjects/PerceptionHDRP/Assets/Samples/Perception/0.8.0-preview.2/Tutorial Files/Foreground Objects/Phase 1/Materials.meta
  79. 8
      TestProjects/PerceptionHDRP/Assets/Samples/Perception/0.8.0-preview.2/Tutorial Files/Foreground Objects/Phase 1/Models.meta
  80. 8
      TestProjects/PerceptionHDRP/Assets/Samples/Perception/0.8.0-preview.2/Tutorial Files/Foreground Objects/Phase 1/Prefabs.meta
  81. 8
      TestProjects/PerceptionHDRP/Assets/Samples/Perception/0.8.0-preview.2/Tutorial Files/Foreground Objects/Phase 1/Textures.meta
  82. 8
      TestProjects/PerceptionHDRP/Assets/Samples/Perception/0.8.0-preview.2/Tutorial Files/Shaders.meta
  83. 100
      TestProjects/PerceptionURP/Assets/Materials/BlueTest.mat
  84. 8
      TestProjects/PerceptionURP/Assets/Materials/BlueTest.mat.meta
  85. 100
      TestProjects/PerceptionURP/Assets/Materials/GreenTest.mat
  86. 8
      TestProjects/PerceptionURP/Assets/Materials/GreenTest.mat.meta
  87. 91
      TestProjects/PerceptionURP/Assets/Materials/LitBlueTransparent.mat
  88. 8
      TestProjects/PerceptionURP/Assets/Materials/LitBlueTransparent.mat.meta

5
TestProjects/PerceptionHDRP/ProjectSettings/EditorBuildSettings.asset


m_ObjectHideFlags: 0
serializedVersion: 2
m_Scenes:
- enabled: 1
- enabled: 0
- enabled: 1
path: Assets/Scenes/PoseSample.unity
guid: 290fafafd5ac84d4388b8a6b129c6f20
m_configObjects: {}

1
TestProjects/PerceptionHDRP/ProjectSettings/GraphicsSettings.asset


- {fileID: 16000, guid: 0000000000000000f000000000000000, type: 0}
- {fileID: 16001, guid: 0000000000000000f000000000000000, type: 0}
- {fileID: 17000, guid: 0000000000000000f000000000000000, type: 0}
- {fileID: 16002, guid: 0000000000000000f000000000000000, type: 0}
m_PreloadedShaders: []
m_SpritesDefaultMaterial: {fileID: 10754, guid: 0000000000000000f000000000000000,
type: 0}

8
TestProjects/PerceptionURP/Assets/IdLabelConfig.asset


id: 4
- label: Character
id: 5
- label: Create
id: 6
- label: Decal
id: 7
- label: Wall
id: 8
- label: Block
id: 9
autoAssignIds: 1
startingLabelId: 1

620
TestProjects/PerceptionURP/Assets/Scenes/SampleScene.unity


m_Name:
m_EditorClassIdentifier:
m_Randomizers: []
quitOnComplete: 1
serializedConstantsFileName: constants
configuration: {fileID: 0}
totalIterations: 100
randomSeed: 539662031
totalIterations: 1563
instanceCount: 1
instanceIndex: 0
framesPerIteration: 1

m_Father: {fileID: 0}
m_RootOrder: 6
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!1 &263323994
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 263323998}
- component: {fileID: 263323997}
- component: {fileID: 263323996}
- component: {fileID: 263323995}
- component: {fileID: 263324000}
- component: {fileID: 263323999}
- component: {fileID: 263324001}
m_Layer: 0
m_Name: Decal
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 0
--- !u!64 &263323995
MeshCollider:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 263323994}
m_Material: {fileID: 0}
m_IsTrigger: 0
m_Enabled: 1
serializedVersion: 4
m_Convex: 0
m_CookingOptions: 30
m_Mesh: {fileID: 10210, guid: 0000000000000000e000000000000000, type: 0}
--- !u!23 &263323996
MeshRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 263323994}
m_Enabled: 1
m_CastShadows: 1
m_ReceiveShadows: 1
m_DynamicOccludee: 1
m_MotionVectors: 1
m_LightProbeUsage: 1
m_ReflectionProbeUsage: 1
m_RayTracingMode: 2
m_RenderingLayerMask: 1
m_RendererPriority: 0
m_Materials:
- {fileID: 2100000, guid: 4089ce1cdb7044195bd5cd013d409aa9, type: 2}
m_StaticBatchInfo:
firstSubMesh: 0
subMeshCount: 0
m_StaticBatchRoot: {fileID: 0}
m_ProbeAnchor: {fileID: 0}
m_LightProbeVolumeOverride: {fileID: 0}
m_ScaleInLightmap: 1
m_ReceiveGI: 1
m_PreserveUVs: 0
m_IgnoreNormalsForChartDetection: 0
m_ImportantGI: 0
m_StitchLightmapSeams: 1
m_SelectedEditorRenderState: 3
m_MinimumChartSize: 4
m_AutoUVMaxDistance: 0.5
m_AutoUVMaxAngle: 89
m_LightmapParameters: {fileID: 0}
m_SortingLayerID: 0
m_SortingLayer: 0
m_SortingOrder: 0
--- !u!33 &263323997
MeshFilter:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 263323994}
m_Mesh: {fileID: 10210, guid: 0000000000000000e000000000000000, type: 0}
--- !u!4 &263323998
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 263323994}
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: -0.526}
m_LocalScale: {x: 1, y: 1, z: 0.01}
m_Children: []
m_Father: {fileID: 411238281}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!114 &263323999
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 263323994}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 8b33f0bc2b78db642a758f07826d0dd0, type: 3}
m_Name:
m_EditorClassIdentifier:
labels:
- Decal
useAutoLabeling: 0
autoLabelingSchemeType:
--- !u!114 &263324000
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 263323994}
m_Enabled: 0
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 673a227032a8e4940b9828c5b6f852ab, type: 3}
m_Name:
m_EditorClassIdentifier:
yDegreesPerSecond: 180
--- !u!114 &263324001
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 263323994}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: d362ce101173546a9b2047a832293571, type: 3}
m_Name:
m_EditorClassIdentifier:
enableTransparency: 0
opacityThreshold: 1
useSegmentationMask: 0
segmentationMask: {fileID: 2800000, guid: b5b195e4c151647bd80bfd7c6e2793d9, type: 3}
--- !u!1 &305150357
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 305150363}
- component: {fileID: 305150362}
- component: {fileID: 305150361}
- component: {fileID: 305150360}
- component: {fileID: 305150359}
- component: {fileID: 305150358}
m_Layer: 0
m_Name: Box (1)
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!114 &305150358
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 305150357}
m_Enabled: 0
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 673a227032a8e4940b9828c5b6f852ab, type: 3}
m_Name:
m_EditorClassIdentifier:
yDegreesPerSecond: 180
--- !u!114 &305150359
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 305150357}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 8b33f0bc2b78db642a758f07826d0dd0, type: 3}
m_Name:
m_EditorClassIdentifier:
labels:
- Box
useAutoLabeling: 0
autoLabelingSchemeType:
--- !u!65 &305150360
BoxCollider:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 305150357}
m_Material: {fileID: 0}
m_IsTrigger: 0
m_Enabled: 1
serializedVersion: 2
m_Size: {x: 1, y: 1, z: 1}
m_Center: {x: 0, y: 0, z: 0}
--- !u!23 &305150361
MeshRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 305150357}
m_Enabled: 1
m_CastShadows: 1
m_ReceiveShadows: 1
m_DynamicOccludee: 1
m_MotionVectors: 1
m_LightProbeUsage: 1
m_ReflectionProbeUsage: 1
m_RayTracingMode: 2
m_RenderingLayerMask: 1
m_RendererPriority: 0
m_Materials:
- {fileID: 2100000, guid: 4089ce1cdb7044195bd5cd013d409aa9, type: 2}
m_StaticBatchInfo:
firstSubMesh: 0
subMeshCount: 0
m_StaticBatchRoot: {fileID: 0}
m_ProbeAnchor: {fileID: 0}
m_LightProbeVolumeOverride: {fileID: 0}
m_ScaleInLightmap: 1
m_ReceiveGI: 1
m_PreserveUVs: 0
m_IgnoreNormalsForChartDetection: 0
m_ImportantGI: 0
m_StitchLightmapSeams: 1
m_SelectedEditorRenderState: 3
m_MinimumChartSize: 4
m_AutoUVMaxDistance: 0.5
m_AutoUVMaxAngle: 89
m_LightmapParameters: {fileID: 0}
m_SortingLayerID: 0
m_SortingLayer: 0
m_SortingOrder: 0
--- !u!33 &305150362
MeshFilter:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 305150357}
m_Mesh: {fileID: 10202, guid: 0000000000000000e000000000000000, type: 0}
--- !u!4 &305150363
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 305150357}
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
m_LocalPosition: {x: 93.7, y: 73.33, z: -154.2}
m_LocalScale: {x: 55, y: 15, z: 4.86}
m_Children: []
m_Father: {fileID: 0}
m_RootOrder: 7
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!1 &411238276
GameObject:
m_ObjectHideFlags: 0

- component: {fileID: 411238278}
- component: {fileID: 411238277}
- component: {fileID: 411238282}
- component: {fileID: 411238283}
m_Layer: 0
m_Name: Crate
m_TagString: Untagged

m_RenderingLayerMask: 1
m_RendererPriority: 0
m_Materials:
- {fileID: 2100000, guid: 31321ba15b8f8eb4c954353edc038b1d, type: 2}
- {fileID: 2100000, guid: 3ae6e4dba1a0d4d6cbfe7b10f0584ad4, type: 2}
m_StaticBatchInfo:
firstSubMesh: 0
subMeshCount: 0

m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 411238276}
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
m_LocalPosition: {x: 121.42, y: 72.4, z: -161.73}
m_LocalScale: {x: 15, y: 15, z: 15}
m_Children: []
m_LocalPosition: {x: 97.7, y: 72.4, z: -170.8}
m_LocalScale: {x: 10, y: 10, z: 10}
m_Children:
- {fileID: 263323998}
m_Father: {fileID: 0}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}

m_Name:
m_EditorClassIdentifier:
yDegreesPerSecond: 180
--- !u!114 &411238283
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 411238276}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: d362ce101173546a9b2047a832293571, type: 3}
m_Name:
m_EditorClassIdentifier:
enableTransparency: 0
opacityThreshold: 0.5
useSegmentationMask: 0
segmentationMask: {fileID: 2800000, guid: b5b195e4c151647bd80bfd7c6e2793d9, type: 3}
--- !u!1 &705507993
GameObject:
m_ObjectHideFlags: 0

m_BounceIntensity: 1
m_ColorTemperature: 6570
m_UseColorTemperature: 0
m_BoundingSphereOverride: {x: 0, y: 1.1418e-41, z: 0, w: 0}
m_BoundingSphereOverride: {x: 1.186e-41, y: 1.04e-43, z: 4.5785e-41, w: 0}
m_UseBoundingSphereOverride: 0
m_ShadowRadius: 0
m_ShadowAngle: 0

m_RenderingLayerMask: 1
m_RendererPriority: 0
m_Materials:
- {fileID: 2100000, guid: 31321ba15b8f8eb4c954353edc038b1d, type: 2}
- {fileID: 2100000, guid: 3d8ff98cefe4749d5896db0939087b9a, type: 2}
m_StaticBatchInfo:
firstSubMesh: 0
subMeshCount: 0

m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 934158981}
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
m_LocalPosition: {x: 107.21, y: 72.77, z: -144.12}
m_LocalScale: {x: 15, y: 15, z: 15}
m_LocalPosition: {x: 80, y: 68.6, z: -136.5}
m_LocalScale: {x: 5, y: 5, z: 5}
m_Children: []
m_Father: {fileID: 0}
m_RootOrder: 1

m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 963194225}
m_LocalRotation: {x: -0.22882307, y: 0.124303445, z: -0.029468497, w: -0.96504945}
m_LocalPosition: {x: 116.52855, y: 91.11087, z: -194.85445}
m_LocalPosition: {x: 102.69, y: 91.11, z: -198.48}
m_LocalScale: {x: 36.249973, y: 36.249973, z: 36.249973}
m_Children: []
m_Father: {fileID: 0}

m_Script: {fileID: 11500000, guid: 4467405dbcbd3d64ab4363e9ae8bb813, type: 3}
m_Name:
m_EditorClassIdentifier:
description: The main camera
period: 0.0166
startTime: 0
captureRgbImages: 1
- id: 4
description: The main camera
captureRgbImages: 1
firstCaptureFrame: 0
captureTriggerMode: 0
manualSensorAffectSimulationTiming: 0
simulationDeltaTime: 0.0166
framesBetweenCaptures: 0
showVisualizations: 1
references:
version: 1

objectInfoMetricId: 5ba92024-b3b7-41a7-9d3f-c03a6a8ddd01
idLabelConfig: {fileID: 11400000, guid: cedcacfb1d9beb34fbbb231166c472fe,
type: 2}
00000004:
type: {class: InstanceSegmentationLabeler, ns: UnityEngine.Perception.GroundTruth,
asm: Unity.Perception.Runtime}
data:
enabled: 1
annotationId: 1ccebeb4-5886-41ff-8fe0-f911fa8cbcdf
idLabelConfig: {fileID: 11400000, guid: cedcacfb1d9beb34fbbb231166c472fe,
type: 2}
--- !u!114 &963194231
MonoBehaviour:
m_ObjectHideFlags: 0

m_RequiresDepthTexture: 0
m_RequiresColorTexture: 0
m_Version: 2
--- !u!1 &1540603554
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 1540603555}
- component: {fileID: 1540603561}
- component: {fileID: 1540603560}
- component: {fileID: 1540603559}
- component: {fileID: 1540603558}
- component: {fileID: 1540603557}
- component: {fileID: 1540603556}
m_Layer: 0
m_Name: Decal
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 0
--- !u!4 &1540603555
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1540603554}
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: -0.526}
m_LocalScale: {x: 1, y: 1, z: 0.01}
m_Children: []
m_Father: {fileID: 1754524567}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!114 &1540603556
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1540603554}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: d362ce101173546a9b2047a832293571, type: 3}
m_Name:
m_EditorClassIdentifier:
enableTransparency: 0
opacityThreshold: 1
useSegmentationMask: 0
segmentationMask: {fileID: 2800000, guid: b5b195e4c151647bd80bfd7c6e2793d9, type: 3}
--- !u!114 &1540603557
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1540603554}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 8b33f0bc2b78db642a758f07826d0dd0, type: 3}
m_Name:
m_EditorClassIdentifier:
labels:
- Decal
useAutoLabeling: 0
autoLabelingSchemeType:
--- !u!114 &1540603558
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1540603554}
m_Enabled: 0
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 673a227032a8e4940b9828c5b6f852ab, type: 3}
m_Name:
m_EditorClassIdentifier:
yDegreesPerSecond: 180
--- !u!64 &1540603559
MeshCollider:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1540603554}
m_Material: {fileID: 0}
m_IsTrigger: 0
m_Enabled: 1
serializedVersion: 4
m_Convex: 0
m_CookingOptions: 30
m_Mesh: {fileID: 10210, guid: 0000000000000000e000000000000000, type: 0}
--- !u!23 &1540603560
MeshRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1540603554}
m_Enabled: 1
m_CastShadows: 1
m_ReceiveShadows: 1
m_DynamicOccludee: 1
m_MotionVectors: 1
m_LightProbeUsage: 1
m_ReflectionProbeUsage: 1
m_RayTracingMode: 2
m_RenderingLayerMask: 1
m_RendererPriority: 0
m_Materials:
- {fileID: 2100000, guid: 4089ce1cdb7044195bd5cd013d409aa9, type: 2}
m_StaticBatchInfo:
firstSubMesh: 0
subMeshCount: 0
m_StaticBatchRoot: {fileID: 0}
m_ProbeAnchor: {fileID: 0}
m_LightProbeVolumeOverride: {fileID: 0}
m_ScaleInLightmap: 1
m_ReceiveGI: 1
m_PreserveUVs: 0
m_IgnoreNormalsForChartDetection: 0
m_ImportantGI: 0
m_StitchLightmapSeams: 1
m_SelectedEditorRenderState: 3
m_MinimumChartSize: 4
m_AutoUVMaxDistance: 0.5
m_AutoUVMaxAngle: 89
m_LightmapParameters: {fileID: 0}
m_SortingLayerID: 0
m_SortingLayer: 0
m_SortingOrder: 0
--- !u!33 &1540603561
MeshFilter:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1540603554}
m_Mesh: {fileID: 10210, guid: 0000000000000000e000000000000000, type: 0}
--- !u!1 &1640252278
GameObject:
m_ObjectHideFlags: 0

m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
m_IsActive: 0
--- !u!114 &1640252279
MonoBehaviour:
m_ObjectHideFlags: 0

m_RenderingLayerMask: 1
m_RendererPriority: 0
m_Materials:
- {fileID: 2100000, guid: 31321ba15b8f8eb4c954353edc038b1d, type: 2}
- {fileID: 2100000, guid: 4089ce1cdb7044195bd5cd013d409aa9, type: 2}
m_StaticBatchInfo:
firstSubMesh: 0
subMeshCount: 0

m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1640252278}
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
m_LocalPosition: {x: 95.88, y: 73.33, z: -165.54}
m_LocalPosition: {x: 82.2, y: 73.33, z: -165.54}
m_LocalScale: {x: 15, y: 15, z: 15}
m_Children: []
m_Father: {fileID: 0}

m_Name:
m_EditorClassIdentifier:
yDegreesPerSecond: 180
--- !u!1 &1754524560
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 1754524567}
- component: {fileID: 1754524566}
- component: {fileID: 1754524565}
- component: {fileID: 1754524564}
- component: {fileID: 1754524563}
- component: {fileID: 1754524562}
- component: {fileID: 1754524561}
m_Layer: 0
m_Name: Crate (1)
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 0
--- !u!114 &1754524561
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1754524560}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: d362ce101173546a9b2047a832293571, type: 3}
m_Name:
m_EditorClassIdentifier:
enableTransparency: 0
opacityThreshold: 0.5
useSegmentationMask: 0
segmentationMask: {fileID: 2800000, guid: 6c6d5e5cce7b447ca891dde4bcf949a2, type: 3}
--- !u!114 &1754524562
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1754524560}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 673a227032a8e4940b9828c5b6f852ab, type: 3}
m_Name:
m_EditorClassIdentifier:
yDegreesPerSecond: 180
--- !u!114 &1754524563
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1754524560}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 8b33f0bc2b78db642a758f07826d0dd0, type: 3}
m_Name:
m_EditorClassIdentifier:
labels:
- Crate
useAutoLabeling: 0
autoLabelingSchemeType:
--- !u!65 &1754524564
BoxCollider:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1754524560}
m_Material: {fileID: 0}
m_IsTrigger: 0
m_Enabled: 1
serializedVersion: 2
m_Size: {x: 1, y: 1, z: 1}
m_Center: {x: 0, y: 0, z: 0}
--- !u!23 &1754524565
MeshRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1754524560}
m_Enabled: 1
m_CastShadows: 1
m_ReceiveShadows: 1
m_DynamicOccludee: 1
m_MotionVectors: 1
m_LightProbeUsage: 1
m_ReflectionProbeUsage: 1
m_RayTracingMode: 2
m_RenderingLayerMask: 1
m_RendererPriority: 0
m_Materials:
- {fileID: 2100000, guid: 3ae6e4dba1a0d4d6cbfe7b10f0584ad4, type: 2}
m_StaticBatchInfo:
firstSubMesh: 0
subMeshCount: 0
m_StaticBatchRoot: {fileID: 0}
m_ProbeAnchor: {fileID: 0}
m_LightProbeVolumeOverride: {fileID: 0}
m_ScaleInLightmap: 1
m_ReceiveGI: 1
m_PreserveUVs: 0
m_IgnoreNormalsForChartDetection: 0
m_ImportantGI: 0
m_StitchLightmapSeams: 1
m_SelectedEditorRenderState: 3
m_MinimumChartSize: 4
m_AutoUVMaxDistance: 0.5
m_AutoUVMaxAngle: 89
m_LightmapParameters: {fileID: 0}
m_SortingLayerID: 0
m_SortingLayer: 0
m_SortingOrder: 0
--- !u!33 &1754524566
MeshFilter:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1754524560}
m_Mesh: {fileID: 10202, guid: 0000000000000000e000000000000000, type: 0}
--- !u!4 &1754524567
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1754524560}
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
m_LocalPosition: {x: 89.1, y: 72.4, z: -156.4}
m_LocalScale: {x: 10, y: 10, z: 10}
m_Children:
- {fileID: 1540603555}
m_Father: {fileID: 0}
m_RootOrder: 8
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!1 &1800622449
GameObject:
m_ObjectHideFlags: 0

m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1800622449}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: -385, y: 64.6, z: -673}
m_LocalPosition: {x: -385, y: 53.8, z: -673}
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children: []
m_Father: {fileID: 0}

12
TestProjects/PerceptionURP/Assets/SemanticSegmentationLabelingConfiguration.asset


- label: Cube
color: {r: 0, g: 0.024693727, b: 1, a: 1}
- label: Crate
color: {r: 0, g: 1, b: 0.16973758, a: 1}
color: {r: 0, g: 0.5471698, b: 0.09226788, a: 1}
color: {r: 0.8207547, g: 0, b: 0.6646676, a: 1}
color: {r: 0.8584906, g: 0, b: 0.5827153, a: 1}
- label: Create
color: {r: 0, g: 0.7529412, b: 1, a: 1}
- label: Decal
color: {r: 0, g: 1, b: 0, a: 1}
- label: Wall
color: {r: 1, g: 1, b: 1, a: 1}
- label: Block
color: {r: 1, g: 0.92156863, b: 0.015686275, a: 1}
skyColor: {r: 0, g: 0, b: 0, a: 1}

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


m_EditorClassIdentifier:
m_RendererFeatures:
- {fileID: 5741507687788441411}
m_RendererFeatureMap:
m_RendererFeatureMap: 43efcd7dd2eead4f
postProcessData: {fileID: 11400000, guid: 41439944d30ece34e96484bdb6645b55, type: 2}
shaders:
blitPS: {fileID: 4800000, guid: c17132b1f77d20942aa75f8429c0f8bc, type: 3}

1
TestProjects/PerceptionURP/Packages/manifest.json


{
"dependencies": {
"com.unity.collab-proxy": "1.2.16",
"com.unity.cv.datamaker": "file:/Users/mohsenkamalzadeh/Documents/GitHub/com.unity.cv.datamaker/com.unity.cv.datamaker",
"com.unity.ide.rider": "1.1.4",
"com.unity.ide.vscode": "1.2.3",
"com.unity.package-validation-suite": "0.9.1-preview",

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


{
"dependencies": {
"com.unity.addressables": {
"version": "1.17.17",
"depth": 1,
"source": "registry",
"dependencies": {
"com.unity.scriptablebuildpipeline": "1.17.0",
"com.unity.modules.assetbundle": "1.0.0",
"com.unity.modules.imageconversion": "1.0.0",
"com.unity.modules.jsonserialize": "1.0.0",
"com.unity.modules.unitywebrequest": "1.0.0",
"com.unity.modules.unitywebrequestassetbundle": "1.0.0"
},
"url": "https://packages.unity.com"
},
"com.unity.burst": {
"version": "1.4.6",
"depth": 1,

"com.unity.burst": "1.3.0-preview.12"
},
"url": "https://packages.unity.com"
},
"com.unity.cv.datamaker": {
"version": "file:/Users/mohsenkamalzadeh/Documents/GitHub/com.unity.cv.datamaker/com.unity.cv.datamaker",
"depth": 0,
"source": "local",
"dependencies": {
"com.unity.addressables": "1.17.17",
"com.unity.perception": "0.8.0-preview.3"
}
},
"com.unity.ext.nunit": {
"version": "1.0.6",

"com.unity.render-pipelines.core": "7.3.1",
"com.unity.shadergraph": "7.3.1"
},
"url": "https://packages.unity.com"
},
"com.unity.scriptablebuildpipeline": {
"version": "1.17.0",
"depth": 2,
"source": "registry",
"dependencies": {},
"url": "https://packages.unity.com"
},
"com.unity.shadergraph": {

5
TestProjects/PerceptionURP/ProjectSettings/QualitySettings.asset


skinWeights: 2
textureQuality: 0
anisotropicTextures: 1
antiAliasing: 2
antiAliasing: 0
softParticles: 0
softVegetation: 1
realtimeReflectionProbes: 1

asyncUploadBufferSize: 16
asyncUploadPersistentBuffer: 1
resolutionScalingFixedDPIFactor: 1
customRenderPipeline: {fileID: 11400000, guid: 19ba41d7c0026c3459d37c2fe90c55a0,
type: 2}
customRenderPipeline: {fileID: 0}
excludedTargetPlatforms: []
m_PerPlatformDefaultQuality:
Android: 1

1
com.unity.perception/Runtime/GroundTruth/Labelers/Visualization/Materials/SegmentationMaterial.mat


- _ReplaceColor: {r: 1, g: 1, b: 1, a: 0}
- _SoftParticleFadeParams: {r: 0, g: 0, b: 0, a: 0}
- _SpecColor: {r: 0.19999996, g: 0.19999996, b: 0.19999996, a: 1}
m_BuildTextureStacks: []
--- !u!114 &3089368426582508830
MonoBehaviour:
m_ObjectHideFlags: 11

2
com.unity.perception/Runtime/GroundTruth/RenderPasses/CrossPipelinePasses/GroundTruthCrossPipelinePass.cs


{
rendererConfiguration = PerObjectData.None,
renderQueueRange = new RenderQueueRange { lowerBound = 0, upperBound = 5000 },
sortingCriteria = SortingCriteria.CommonOpaque,
sortingCriteria = SortingCriteria.BackToFront,
excludeObjectMotionVectors = false,
overrideMaterial = overrideMaterial,
overrideMaterialPassIndex = overrideMaterialPassIndex,

29
com.unity.perception/Runtime/GroundTruth/RenderPasses/CrossPipelinePasses/InstanceSegmentationCrossPipelinePass.cs


Debug.LogError($"Could not get a unique color for {instanceId}");
mpb.SetVector(k_SegmentationIdProperty, (Color)color);
if (renderer && renderer.material)
{
if (renderer.material.HasProperty("_MainTex"))
{
var maintex = renderer.material.GetTexture("_MainTex");
if (maintex)
mpb.SetTexture("_MainTex", renderer.material.GetTexture("_MainTex"));
}
mpb.SetColor("_BaseColor", renderer.material.color);
}
var segBeh = renderer? renderer.gameObject.GetComponent<SemanticSegmentationBehaviour>() : null;
if (segBeh)
{
if (segBeh.useSegmentationMask)
{
mpb.SetFloat("_TextureIsSegmentationMask", 1);
if (segBeh.useSegmentationMask)
{
mpb.SetTexture("_MainTex", segBeh.segmentationMask);
}
}
mpb.SetFloat("_TransparencyThreshold", segBeh.opacityThreshold);
}
#if PERCEPTION_DEBUG
Debug.Log($"Assigning id. Frame {Time.frameCount} id {id}");
#endif

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


base.Setup();
m_ClassLabelingShader = Shader.Find(k_ShaderName);
var shaderVariantCollection = new ShaderVariantCollection();
//var shaderVariantCollection = new ShaderVariantCollection();
if (shaderVariantCollection != null)
{
shaderVariantCollection.Add(
new ShaderVariantCollection.ShaderVariant(m_ClassLabelingShader, PassType.ScriptableRenderPipeline));
}
// if (shaderVariantCollection != null)
// {
// shaderVariantCollection.Add(
// new ShaderVariantCollection.ShaderVariant(m_ClassLabelingShader, PassType.ScriptableRenderPipeline));
// }
shaderVariantCollection.WarmUp();
//shaderVariantCollection.WarmUp();
}
protected override void ExecutePass(

// Set the labeling ID so that it can be accessed in ClassSemanticSegmentationPass.shader
mpb.SetVector(k_LabelingId, found ? entry.color : Color.black);
if (renderer && renderer.material)
{
if (renderer.material.HasProperty("_MainTex"))
{
var maintex = renderer.material.GetTexture("_MainTex");
if (maintex)
mpb.SetTexture("_MainTex", renderer.material.GetTexture("_MainTex"));
}
mpb.SetColor("_BaseColor", renderer.material.color);
}
var segBeh = renderer? renderer.gameObject.GetComponent<SemanticSegmentationBehaviour>() : null;
if (segBeh)
{
if (segBeh.useSegmentationMask)
{
mpb.SetFloat("_TextureIsSegmentationMask", 1);
if (segBeh.useSegmentationMask)
{
mpb.SetTexture("_MainTex", segBeh.segmentationMask);
}
}
mpb.SetFloat("_TransparencyThreshold", segBeh.opacityThreshold);
}
}
public override void ClearMaterialProperties(MaterialPropertyBlock mpb, Renderer renderer, Labeling labeling, uint instanceId)

39
com.unity.perception/Runtime/GroundTruth/Resources/InstanceSegmentation.shader


{
Properties
{
_MainTex ("Texture", 2D) = "white" {}
_BaseColor("Color", Color) = (1,1,1,1)
_EnableTransparency ("Enable Transparency", Range(0,1)) = 1
_TransparencyThreshold ("Transparency Threshold", Range(0,1)) = 1
_TextureIsSegmentationMask ("Use Texture as Segmentation Mask", Range(0,1)) = 0
Tags { "RenderType"="Opaque" }
Tags { "Queue"="Transparent" "RenderType"="Transparent" }
Blend SrcAlpha OneMinusSrcAlpha
ZWrite Off
CGPROGRAM
#pragma vertex vert

#include "Packing.hlsl"
sampler2D _MainTex;
fixed4 _BaseColor;
float4 _MainTex_ST;
float _TransparencyThreshold;
float _TextureIsSegmentationMask;
float _EnableTransparency;
float2 uv : TEXCOORD0;
float2 uv : TEXCOORD0;
};
float4 _SegmentationId;

v2f o;
o.vertex = UnityObjectToClipPos(v.vertex);
o.uv = TRANSFORM_TEX(v.uv, _MainTex);
return _SegmentationId;
fixed4 col = tex2D(_MainTex, i.uv);
fixed4 outColor = _SegmentationId;
if (_TextureIsSegmentationMask == 1)
{
if (col.r == 0 && col.g == 0 && col.b == 0)
{
outColor = fixed4(0,0,0,1);
}
return outColor;
}
float opacity = 1 * _BaseColor.a;
if (opacity < _TransparencyThreshold)
outColor.a = 0;
else
outColor.a = 1;
return outColor;
}
ENDCG
}

62
com.unity.perception/Runtime/GroundTruth/Resources/SemanticSegmentation.shader


{
Properties
{
_MainTex ("Texture", 2D) = "white" {}
_BaseColor("Color", Color) = (1,1,1,1)
_EnableTransparency ("Enable Transparency", Range(0,1)) = 1
_TransparencyThreshold ("Transparency Threshold", Range(0,1)) = 1
_TextureIsSegmentationMask ("Use Texture as Segmentation Mask", Range(0,1)) = 0
HLSLINCLUDE
//HLSLINCLUDE
#pragma target 4.5
#pragma only_renderers d3d11 ps4 xboxone vulkan metal switch
// #pragma target 4.5
// #pragma only_renderers d3d11 ps4 xboxone vulkan metal switch
#pragma multi_compile_instancing
//#pragma multi_compile_instancing
ENDHLSL
//ENDHLSL
Tags { "RenderType"="Opaque" }
Tags { "Queue"="Transparent" "RenderType"="Transparent" }
Blend SrcAlpha OneMinusSrcAlpha
ZWrite Off
//Cull Off
// Pass
// {
// ZWrite On
// ColorMask 0
// }
Tags { "LightMode" = "SRP" }
Blend Off
ZWrite On
ZTest LEqual
Cull Back
CGPROGRAM

#include "UnityCG.cginc"
float4 LabelingId;
sampler2D _MainTex;
float4 _MainTex_ST;
fixed4 _BaseColor;
float _TransparencyThreshold;
float _TextureIsSegmentationMask;
float2 uv : TEXCOORD0;
float2 uv : TEXCOORD0;
float4 vertex : SV_POSITION;
};

vertScreenSpace.vertex = UnityObjectToClipPos(vertWorldSpace.vertex);
vertScreenSpace.uv = TRANSFORM_TEX(vertWorldSpace.uv, _MainTex);
return LabelingId;
fixed4 col = tex2D(_MainTex, vertScreenSpace.uv);
//LabelingId = _BaseColor;
fixed4 outColor = LabelingId;
// if (_TextureIsSegmentationMask == 1)
// {
// if (col.r == 0 && col.g == 0 && col.b == 0)
// outColor = fixed4(0,0,0,1);
//
// return outColor;
// }
//float opacity = col.a * _BaseColor.a;
float opacity = 2;
if (opacity < _TransparencyThreshold)
outColor.a = 0;
else
outColor.a = 1;
return outColor;
}
ENDCG

8
TestProjects/PerceptionHDRP/Assets/Resources.meta


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

8
TestProjects/PerceptionHDRP/Assets/Samples.meta


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

90
TestProjects/PerceptionURP/Assets/Lit.mat


%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!114 &-1217821707559108521
MonoBehaviour:
m_ObjectHideFlags: 11
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: d0353a89b1f911e48b9e16bdc9f2e058, type: 3}
m_Name:
m_EditorClassIdentifier:
version: 1
--- !u!21 &2100000
Material:
serializedVersion: 6
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name: Lit
m_Shader: {fileID: 4800000, guid: 933532a4fcc9baf4fa0491de14d08ed7, type: 3}
m_ShaderKeywords:
m_LightmapFlags: 4
m_EnableInstancingVariants: 0
m_DoubleSidedGI: 0
m_CustomRenderQueue: 2050
stringTagMap:
RenderType: Opaque
disabledShaderPasses: []
m_SavedProperties:
serializedVersion: 3
m_TexEnvs:
- _BaseMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _BumpMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _EmissionMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _MainTex:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _MetallicGlossMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _OcclusionMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _SpecGlossMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
m_Floats:
- _AlphaClip: 0
- _Blend: 0
- _BumpScale: 1
- _Cull: 2
- _Cutoff: 0.5
- _DstBlend: 0
- _EnvironmentReflections: 1
- _GlossMapScale: 0
- _Glossiness: 0
- _GlossyReflections: 0
- _Metallic: 0
- _OcclusionStrength: 1
- _QueueOffset: 0
- _ReceiveShadows: 1
- _Smoothness: 0.5
- _SmoothnessTextureChannel: 0
- _SpecularHighlights: 1
- _SrcBlend: 1
- _Surface: 0
- _WorkflowMode: 1
- _ZWrite: 1
m_Colors:
- _BaseColor: {r: 0.5377358, g: 0.5377358, b: 0.5377358, a: 1}
- _Color: {r: 1, g: 1, b: 1, a: 1}
- _EmissionColor: {r: 0, g: 0, b: 0, a: 1}
- _SpecColor: {r: 0.19999996, g: 0.19999996, b: 0.19999996, a: 1}

8
TestProjects/PerceptionURP/Assets/Lit.mat.meta


fileFormatVersion: 2
guid: 75f5a99ef313c4df4abda96a22a5974f
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 2100000
userData:
assetBundleName:
assetBundleVariant:

8
TestProjects/PerceptionURP/Assets/Materials.meta


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

91
TestProjects/PerceptionURP/Assets/New Material.mat


%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!21 &2100000
Material:
serializedVersion: 6
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name: New Material
m_Shader: {fileID: 4800000, guid: 933532a4fcc9baf4fa0491de14d08ed7, type: 3}
m_ShaderKeywords:
m_LightmapFlags: 4
m_EnableInstancingVariants: 0
m_DoubleSidedGI: 0
m_CustomRenderQueue: 3050
stringTagMap:
RenderType: Transparent
disabledShaderPasses:
- SHADOWCASTER
m_SavedProperties:
serializedVersion: 3
m_TexEnvs:
- _BaseMap:
m_Texture: {fileID: 2800000, guid: 7b20dce90f0ba45c9a7b6652f42735e4, type: 3}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _BumpMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _EmissionMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _MainTex:
m_Texture: {fileID: 2800000, guid: 7b20dce90f0ba45c9a7b6652f42735e4, type: 3}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _MetallicGlossMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _OcclusionMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _SpecGlossMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
m_Floats:
- _AlphaClip: 0
- _Blend: 0
- _BumpScale: 1
- _Cull: 2
- _Cutoff: 0.5
- _DstBlend: 10
- _EnvironmentReflections: 1
- _GlossMapScale: 0
- _Glossiness: 0
- _GlossyReflections: 0
- _Metallic: 0
- _OcclusionStrength: 1
- _QueueOffset: 0
- _ReceiveShadows: 1
- _Smoothness: 0.5
- _SmoothnessTextureChannel: 0
- _SpecularHighlights: 1
- _SrcBlend: 5
- _Surface: 1
- _WorkflowMode: 1
- _ZWrite: 0
m_Colors:
- _BaseColor: {r: 0.5660378, g: 0.5660378, b: 0.5660378, a: 1}
- _Color: {r: 1, g: 1, b: 1, a: 1}
- _EmissionColor: {r: 0, g: 0, b: 0, a: 1}
- _SpecColor: {r: 0.19999996, g: 0.19999996, b: 0.19999996, a: 1}
--- !u!114 &4119187615911450758
MonoBehaviour:
m_ObjectHideFlags: 11
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: d0353a89b1f911e48b9e16bdc9f2e058, type: 3}
m_Name:
m_EditorClassIdentifier:
version: 1

8
TestProjects/PerceptionURP/Assets/New Material.mat.meta


fileFormatVersion: 2
guid: 0af2cdadee9634b1186166451cd69490
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 2100000
userData:
assetBundleName:
assetBundleVariant:

58
TestProjects/PerceptionURP/Assets/NewUnlitShader.shader


Shader "Unlit/NewUnlitShader"
{
Properties
{
_MainTex ("Texture", 2D) = "white" {}
}
SubShader
{
Tags { "RenderType"="Opaque" }
LOD 100
Pass
{
CGPROGRAM
#pragma vertex vert
#pragma fragment frag
// make fog work
#pragma multi_compile_fog
#include "UnityCG.cginc"
struct appdata
{
float4 vertex : POSITION;
float2 uv : TEXCOORD0;
};
struct v2f
{
float2 uv : TEXCOORD0;
UNITY_FOG_COORDS(1)
float4 vertex : SV_POSITION;
};
sampler2D _MainTex;
float4 _MainTex_ST;
v2f vert (appdata v)
{
v2f o;
o.vertex = UnityObjectToClipPos(v.vertex);
o.uv = TRANSFORM_TEX(v.uv, _MainTex);
UNITY_TRANSFER_FOG(o,o.vertex);
return o;
}
fixed4 frag (v2f i) : SV_Target
{
// sample the texture
fixed4 col = tex2D(_MainTex, i.uv);
// apply fog
UNITY_APPLY_FOG(i.fogCoord, col);
return col;
}
ENDCG
}
}
}

9
TestProjects/PerceptionURP/Assets/NewUnlitShader.shader.meta


fileFormatVersion: 2
guid: e8208c4c297d647f2bdca639400585d5
ShaderImporter:
externalObjects: {}
defaultTextures: []
nonModifiableTextures: []
userData:
assetBundleName:
assetBundleVariant:

8
TestProjects/PerceptionURP/Assets/Samples.meta


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

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


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

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

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


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

56
TestProjects/PerceptionURP/Assets/TestShader.shader


Shader "Perception/TestShader"
{
Properties
{
_BaseColor("Color", Color) = (1,1,1,1)
[PerObjectData] LabelingId("Labeling Id", Vector) = (0,0,0,1)
}
SubShader
{
Tags { "Queue"="Transparent" "RenderType"="Transparent" }
Blend SrcAlpha OneMinusSrcAlpha
ZWrite On
Lighting Off
LOD 100
Pass
{
CGPROGRAM
#pragma vertex semanticSegmentationVertexStage
#pragma fragment semanticSegmentationFragmentStage
#include "UnityCG.cginc"
fixed4 _BaseColor;
float4 LabelingId;
struct in_vert
{
float4 vertex : POSITION;
};
struct vertexToFragment
{
float4 vertex : SV_POSITION;
};
vertexToFragment semanticSegmentationVertexStage (in_vert vertWorldSpace)
{
vertexToFragment vertScreenSpace;
vertScreenSpace.vertex = UnityObjectToClipPos(vertWorldSpace.vertex);
return vertScreenSpace;
}
fixed4 semanticSegmentationFragmentStage (vertexToFragment vertScreenSpace) : SV_Target
{
fixed4 color = LabelingId;
return color;
}
ENDCG
}
}
}

9
TestProjects/PerceptionURP/Assets/TestShader.shader.meta


fileFormatVersion: 2
guid: d020a921fc4d94b6d8a40a3a69d118f8
ShaderImporter:
externalObjects: {}
defaultTextures: []
nonModifiableTextures: []
userData:
assetBundleName:
assetBundleVariant:

60
TestProjects/PerceptionURP/Assets/TestShader2.shader


Shader "Perception/TestShader2"
{
Properties
{
_BaseColor("Color", Color) = (1,1,1,1)
_MainTex ("Texture", 2D) = "white" {}
}
SubShader
{
Tags { "Queue"="Transparent" "RenderType"="Transparent" }
Blend SrcAlpha OneMinusSrcAlpha
ZWrite On
Lighting Off
LOD 100
Pass
{
CGPROGRAM
#pragma vertex semanticSegmentationVertexStage
#pragma fragment semanticSegmentationFragmentStage
#include "UnityCG.cginc"
fixed4 _BaseColor;
sampler2D _MainTex;
float4 _MainTex_ST;
struct in_vert
{
float4 vertex : POSITION;
float2 uv : TEXCOORD0;
};
struct vertexToFragment
{
float2 uv : TEXCOORD0;
float4 vertex : SV_POSITION;
};
vertexToFragment semanticSegmentationVertexStage (in_vert vertWorldSpace)
{
vertexToFragment vertScreenSpace;
vertScreenSpace.vertex = UnityObjectToClipPos(vertWorldSpace.vertex);
vertScreenSpace.uv = TRANSFORM_TEX(vertWorldSpace.uv, _MainTex);
return vertScreenSpace;
}
fixed4 semanticSegmentationFragmentStage (vertexToFragment vertScreenSpace) : SV_Target
{
fixed4 col = tex2D(_MainTex, vertScreenSpace.uv);
return col * _BaseColor;
}
ENDCG
}
}
}

9
TestProjects/PerceptionURP/Assets/TestShader2.shader.meta


fileFormatVersion: 2
guid: 1bcd2b49411af450a9387fde68f3e6c7
ShaderImporter:
externalObjects: {}
defaultTextures: []
nonModifiableTextures: []
userData:
assetBundleName:
assetBundleVariant:

8
TestProjects/PerceptionURP/Assets/sebastian.meta


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

8
TestProjects/PerceptionURP/Assets/test_border.png

之前 之后
宽度: 1024  |  高度: 1024  |  大小: 8.2 KiB

92
TestProjects/PerceptionURP/Assets/test_border.png.meta


fileFormatVersion: 2
guid: c0f1d367b76e34d99b4c8fc9dd177f21
TextureImporter:
internalIDToNameTable: []
externalObjects: {}
serializedVersion: 11
mipmaps:
mipMapMode: 0
enableMipMap: 1
sRGBTexture: 1
linearTexture: 0
fadeOut: 0
borderMipMap: 0
mipMapsPreserveCoverage: 0
alphaTestReferenceValue: 0.5
mipMapFadeDistanceStart: 1
mipMapFadeDistanceEnd: 3
bumpmap:
convertToNormalMap: 0
externalNormalMap: 0
heightScale: 0.25
normalMapFilter: 0
isReadable: 0
streamingMipmaps: 0
streamingMipmapsPriority: 0
grayScaleToAlpha: 0
generateCubemap: 6
cubemapConvolution: 0
seamlessCubemap: 0
textureFormat: 1
maxTextureSize: 2048
textureSettings:
serializedVersion: 2
filterMode: -1
aniso: -1
mipBias: -100
wrapU: -1
wrapV: -1
wrapW: -1
nPOTScale: 1
lightmap: 0
compressionQuality: 50
spriteMode: 0
spriteExtrude: 1
spriteMeshType: 1
alignment: 0
spritePivot: {x: 0.5, y: 0.5}
spritePixelsToUnits: 100
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
spriteGenerateFallbackPhysicsShape: 1
alphaUsage: 1
alphaIsTransparency: 0
spriteTessellationDetail: -1
textureType: 0
textureShape: 1
singleChannelComponent: 0
maxTextureSizeSet: 0
compressionQualitySet: 0
textureFormatSet: 0
applyGammaDecoding: 0
platformSettings:
- serializedVersion: 3
buildTarget: DefaultTexturePlatform
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
spriteSheet:
serializedVersion: 2
sprites: []
outline: []
physicsShape: []
bones: []
spriteID:
internalID: 0
vertices: []
indices:
edges: []
weights: []
secondaryTextures: []
spritePackingTag:
pSDRemoveMatte: 0
pSDShowRemoveMatteOption: 0
userData:
assetBundleName:
assetBundleVariant:

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

92
TestProjects/PerceptionURP/Assets/test_gradient.png.meta


fileFormatVersion: 2
guid: 7b20dce90f0ba45c9a7b6652f42735e4
TextureImporter:
internalIDToNameTable: []
externalObjects: {}
serializedVersion: 11
mipmaps:
mipMapMode: 0
enableMipMap: 1
sRGBTexture: 1
linearTexture: 0
fadeOut: 0
borderMipMap: 0
mipMapsPreserveCoverage: 0
alphaTestReferenceValue: 0.5
mipMapFadeDistanceStart: 1
mipMapFadeDistanceEnd: 3
bumpmap:
convertToNormalMap: 0
externalNormalMap: 0
heightScale: 0.25
normalMapFilter: 0
isReadable: 0
streamingMipmaps: 0
streamingMipmapsPriority: 0
grayScaleToAlpha: 0
generateCubemap: 6
cubemapConvolution: 0
seamlessCubemap: 0
textureFormat: 1
maxTextureSize: 2048
textureSettings:
serializedVersion: 2
filterMode: -1
aniso: -1
mipBias: -100
wrapU: -1
wrapV: -1
wrapW: -1
nPOTScale: 1
lightmap: 0
compressionQuality: 50
spriteMode: 0
spriteExtrude: 1
spriteMeshType: 1
alignment: 0
spritePivot: {x: 0.5, y: 0.5}
spritePixelsToUnits: 100
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
spriteGenerateFallbackPhysicsShape: 1
alphaUsage: 1
alphaIsTransparency: 0
spriteTessellationDetail: -1
textureType: 0
textureShape: 1
singleChannelComponent: 0
maxTextureSizeSet: 0
compressionQualitySet: 0
textureFormatSet: 0
applyGammaDecoding: 0
platformSettings:
- serializedVersion: 3
buildTarget: DefaultTexturePlatform
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
spriteSheet:
serializedVersion: 2
sprites: []
outline: []
physicsShape: []
bones: []
spriteID:
internalID: 0
vertices: []
indices:
edges: []
weights: []
secondaryTextures: []
spritePackingTag:
pSDRemoveMatte: 0
pSDShowRemoveMatteOption: 0
userData:
assetBundleName:
assetBundleVariant:

23
TestProjects/PerceptionURP/Assets/testext-transback.png

之前 之后
宽度: 1024  |  高度: 1024  |  大小: 17 KiB

92
TestProjects/PerceptionURP/Assets/testext-transback.png.meta


fileFormatVersion: 2
guid: 7d5c9ba7bd0194c1d99dbe1489da0ed0
TextureImporter:
internalIDToNameTable: []
externalObjects: {}
serializedVersion: 11
mipmaps:
mipMapMode: 0
enableMipMap: 1
sRGBTexture: 1
linearTexture: 0
fadeOut: 0
borderMipMap: 0
mipMapsPreserveCoverage: 0
alphaTestReferenceValue: 0.5
mipMapFadeDistanceStart: 1
mipMapFadeDistanceEnd: 3
bumpmap:
convertToNormalMap: 0
externalNormalMap: 0
heightScale: 0.25
normalMapFilter: 0
isReadable: 0
streamingMipmaps: 0
streamingMipmapsPriority: 0
grayScaleToAlpha: 0
generateCubemap: 6
cubemapConvolution: 0
seamlessCubemap: 0
textureFormat: 1
maxTextureSize: 2048
textureSettings:
serializedVersion: 2
filterMode: -1
aniso: -1
mipBias: -100
wrapU: -1
wrapV: -1
wrapW: -1
nPOTScale: 1
lightmap: 0
compressionQuality: 50
spriteMode: 0
spriteExtrude: 1
spriteMeshType: 1
alignment: 0
spritePivot: {x: 0.5, y: 0.5}
spritePixelsToUnits: 100
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
spriteGenerateFallbackPhysicsShape: 1
alphaUsage: 1
alphaIsTransparency: 0
spriteTessellationDetail: -1
textureType: 0
textureShape: 1
singleChannelComponent: 0
maxTextureSizeSet: 0
compressionQualitySet: 0
textureFormatSet: 0
applyGammaDecoding: 0
platformSettings:
- serializedVersion: 3
buildTarget: DefaultTexturePlatform
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
spriteSheet:
serializedVersion: 2
sprites: []
outline: []
physicsShape: []
bones: []
spriteID:
internalID: 0
vertices: []
indices:
edges: []
weights: []
secondaryTextures: []
spritePackingTag:
pSDRemoveMatte: 0
pSDShowRemoveMatteOption: 0
userData:
assetBundleName:
assetBundleVariant:

43
TestProjects/PerceptionURP/Assets/testext.png

之前 之后
宽度: 1024  |  高度: 1024  |  大小: 17 KiB

92
TestProjects/PerceptionURP/Assets/testext.png.meta


fileFormatVersion: 2
guid: 6c6d5e5cce7b447ca891dde4bcf949a2
TextureImporter:
internalIDToNameTable: []
externalObjects: {}
serializedVersion: 11
mipmaps:
mipMapMode: 0
enableMipMap: 1
sRGBTexture: 1
linearTexture: 0
fadeOut: 0
borderMipMap: 0
mipMapsPreserveCoverage: 0
alphaTestReferenceValue: 0.5
mipMapFadeDistanceStart: 1
mipMapFadeDistanceEnd: 3
bumpmap:
convertToNormalMap: 0
externalNormalMap: 0
heightScale: 0.25
normalMapFilter: 0
isReadable: 0
streamingMipmaps: 0
streamingMipmapsPriority: 0
grayScaleToAlpha: 0
generateCubemap: 6
cubemapConvolution: 0
seamlessCubemap: 0
textureFormat: 1
maxTextureSize: 2048
textureSettings:
serializedVersion: 2
filterMode: -1
aniso: -1
mipBias: -100
wrapU: -1
wrapV: -1
wrapW: -1
nPOTScale: 1
lightmap: 0
compressionQuality: 50
spriteMode: 0
spriteExtrude: 1
spriteMeshType: 1
alignment: 0
spritePivot: {x: 0.5, y: 0.5}
spritePixelsToUnits: 100
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
spriteGenerateFallbackPhysicsShape: 1
alphaUsage: 1
alphaIsTransparency: 0
spriteTessellationDetail: -1
textureType: 0
textureShape: 1
singleChannelComponent: 0
maxTextureSizeSet: 0
compressionQualitySet: 0
textureFormatSet: 0
applyGammaDecoding: 0
platformSettings:
- serializedVersion: 3
buildTarget: DefaultTexturePlatform
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
spriteSheet:
serializedVersion: 2
sprites: []
outline: []
physicsShape: []
bones: []
spriteID:
internalID: 0
vertices: []
indices:
edges: []
weights: []
secondaryTextures: []
spritePackingTag:
pSDRemoveMatte: 0
pSDShowRemoveMatteOption: 0
userData:
assetBundleName:
assetBundleVariant:

1001
TestProjects/PerceptionURP/Assets/testtex-semitrans.png
文件差异内容过多而无法显示
查看文件

92
TestProjects/PerceptionURP/Assets/testtex-semitrans.png.meta


fileFormatVersion: 2
guid: aec602df1a4564f25a1c85fa877b8c1a
TextureImporter:
internalIDToNameTable: []
externalObjects: {}
serializedVersion: 11
mipmaps:
mipMapMode: 0
enableMipMap: 1
sRGBTexture: 1
linearTexture: 0
fadeOut: 0
borderMipMap: 0
mipMapsPreserveCoverage: 0
alphaTestReferenceValue: 0.5
mipMapFadeDistanceStart: 1
mipMapFadeDistanceEnd: 3
bumpmap:
convertToNormalMap: 0
externalNormalMap: 0
heightScale: 0.25
normalMapFilter: 0
isReadable: 0
streamingMipmaps: 0
streamingMipmapsPriority: 0
grayScaleToAlpha: 0
generateCubemap: 6
cubemapConvolution: 0
seamlessCubemap: 0
textureFormat: 1
maxTextureSize: 2048
textureSettings:
serializedVersion: 2
filterMode: -1
aniso: -1
mipBias: -100
wrapU: -1
wrapV: -1
wrapW: -1
nPOTScale: 1
lightmap: 0
compressionQuality: 50
spriteMode: 0
spriteExtrude: 1
spriteMeshType: 1
alignment: 0
spritePivot: {x: 0.5, y: 0.5}
spritePixelsToUnits: 100
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
spriteGenerateFallbackPhysicsShape: 1
alphaUsage: 1
alphaIsTransparency: 0
spriteTessellationDetail: -1
textureType: 0
textureShape: 1
singleChannelComponent: 0
maxTextureSizeSet: 0
compressionQualitySet: 0
textureFormatSet: 0
applyGammaDecoding: 0
platformSettings:
- serializedVersion: 3
buildTarget: DefaultTexturePlatform
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
spriteSheet:
serializedVersion: 2
sprites: []
outline: []
physicsShape: []
bones: []
spriteID:
internalID: 0
vertices: []
indices:
edges: []
weights: []
secondaryTextures: []
spritePackingTag:
pSDRemoveMatte: 0
pSDShowRemoveMatteOption: 0
userData:
assetBundleName:
assetBundleVariant:

20
TestProjects/PerceptionURP/Assets/testtext-small-mask.png

之前 之后
宽度: 1024  |  高度: 1024  |  大小: 7.9 KiB

92
TestProjects/PerceptionURP/Assets/testtext-small-mask.png.meta


fileFormatVersion: 2
guid: 779b0bbe0612c49db915e892fbf17114
TextureImporter:
internalIDToNameTable: []
externalObjects: {}
serializedVersion: 11
mipmaps:
mipMapMode: 0
enableMipMap: 1
sRGBTexture: 1
linearTexture: 0
fadeOut: 0
borderMipMap: 0
mipMapsPreserveCoverage: 0
alphaTestReferenceValue: 0.5
mipMapFadeDistanceStart: 1
mipMapFadeDistanceEnd: 3
bumpmap:
convertToNormalMap: 0
externalNormalMap: 0
heightScale: 0.25
normalMapFilter: 0
isReadable: 0
streamingMipmaps: 0
streamingMipmapsPriority: 0
grayScaleToAlpha: 0
generateCubemap: 6
cubemapConvolution: 0
seamlessCubemap: 0
textureFormat: 1
maxTextureSize: 2048
textureSettings:
serializedVersion: 2
filterMode: -1
aniso: -1
mipBias: -100
wrapU: -1
wrapV: -1
wrapW: -1
nPOTScale: 1
lightmap: 0
compressionQuality: 50
spriteMode: 0
spriteExtrude: 1
spriteMeshType: 1
alignment: 0
spritePivot: {x: 0.5, y: 0.5}
spritePixelsToUnits: 100
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
spriteGenerateFallbackPhysicsShape: 1
alphaUsage: 1
alphaIsTransparency: 0
spriteTessellationDetail: -1
textureType: 0
textureShape: 1
singleChannelComponent: 0
maxTextureSizeSet: 0
compressionQualitySet: 0
textureFormatSet: 0
applyGammaDecoding: 0
platformSettings:
- serializedVersion: 3
buildTarget: DefaultTexturePlatform
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
spriteSheet:
serializedVersion: 2
sprites: []
outline: []
physicsShape: []
bones: []
spriteID:
internalID: 0
vertices: []
indices:
edges: []
weights: []
secondaryTextures: []
spritePackingTag:
pSDRemoveMatte: 0
pSDShowRemoveMatteOption: 0
userData:
assetBundleName:
assetBundleVariant:

23
TestProjects/PerceptionURP/Assets/testtext.png

之前 之后
宽度: 1024  |  高度: 1024  |  大小: 8.2 KiB

92
TestProjects/PerceptionURP/Assets/testtext.png.meta


fileFormatVersion: 2
guid: b5b195e4c151647bd80bfd7c6e2793d9
TextureImporter:
internalIDToNameTable: []
externalObjects: {}
serializedVersion: 11
mipmaps:
mipMapMode: 0
enableMipMap: 1
sRGBTexture: 1
linearTexture: 0
fadeOut: 0
borderMipMap: 0
mipMapsPreserveCoverage: 0
alphaTestReferenceValue: 0.5
mipMapFadeDistanceStart: 1
mipMapFadeDistanceEnd: 3
bumpmap:
convertToNormalMap: 0
externalNormalMap: 0
heightScale: 0.25
normalMapFilter: 0
isReadable: 0
streamingMipmaps: 0
streamingMipmapsPriority: 0
grayScaleToAlpha: 0
generateCubemap: 6
cubemapConvolution: 0
seamlessCubemap: 0
textureFormat: 1
maxTextureSize: 2048
textureSettings:
serializedVersion: 2
filterMode: -1
aniso: -1
mipBias: -100
wrapU: -1
wrapV: -1
wrapW: -1
nPOTScale: 1
lightmap: 0
compressionQuality: 50
spriteMode: 0
spriteExtrude: 1
spriteMeshType: 1
alignment: 0
spritePivot: {x: 0.5, y: 0.5}
spritePixelsToUnits: 100
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
spriteGenerateFallbackPhysicsShape: 1
alphaUsage: 1
alphaIsTransparency: 0
spriteTessellationDetail: -1
textureType: 0
textureShape: 1
singleChannelComponent: 0
maxTextureSizeSet: 0
compressionQualitySet: 0
textureFormatSet: 0
applyGammaDecoding: 0
platformSettings:
- serializedVersion: 3
buildTarget: DefaultTexturePlatform
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
spriteSheet:
serializedVersion: 2
sprites: []
outline: []
physicsShape: []
bones: []
spriteID:
internalID: 0
vertices: []
indices:
edges: []
weights: []
secondaryTextures: []
spritePackingTag:
pSDRemoveMatte: 0
pSDShowRemoveMatteOption: 0
userData:
assetBundleName:
assetBundleVariant:

91
TestProjects/PerceptionURP/Assets/transparent.mat


%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!21 &2100000
Material:
serializedVersion: 6
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name: transparent
m_Shader: {fileID: 4800000, guid: 933532a4fcc9baf4fa0491de14d08ed7, type: 3}
m_ShaderKeywords:
m_LightmapFlags: 4
m_EnableInstancingVariants: 0
m_DoubleSidedGI: 0
m_CustomRenderQueue: 3050
stringTagMap:
RenderType: Transparent
disabledShaderPasses:
- SHADOWCASTER
m_SavedProperties:
serializedVersion: 3
m_TexEnvs:
- _BaseMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _BumpMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _EmissionMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _MainTex:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _MetallicGlossMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _OcclusionMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _SpecGlossMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
m_Floats:
- _AlphaClip: 0
- _Blend: 0
- _BumpScale: 1
- _Cull: 2
- _Cutoff: 0.5
- _DstBlend: 10
- _EnvironmentReflections: 1
- _GlossMapScale: 0
- _Glossiness: 0
- _GlossyReflections: 0
- _Metallic: 0
- _OcclusionStrength: 1
- _QueueOffset: 0
- _ReceiveShadows: 1
- _Smoothness: 0.5
- _SmoothnessTextureChannel: 0
- _SpecularHighlights: 1
- _SrcBlend: 5
- _Surface: 1
- _WorkflowMode: 1
- _ZWrite: 0
m_Colors:
- _BaseColor: {r: 0.5377358, g: 0.5377358, b: 0.5377358, a: 1}
- _Color: {r: 1, g: 1, b: 1, a: 1}
- _EmissionColor: {r: 0, g: 0, b: 0, a: 1}
- _SpecColor: {r: 0.19999996, g: 0.19999996, b: 0.19999996, a: 1}
--- !u!114 &4851983708710409183
MonoBehaviour:
m_ObjectHideFlags: 11
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: d0353a89b1f911e48b9e16bdc9f2e058, type: 3}
m_Name:
m_EditorClassIdentifier:
version: 1

8
TestProjects/PerceptionURP/Assets/transparent.mat.meta


fileFormatVersion: 2
guid: 4089ce1cdb7044195bd5cd013d409aa9
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 2100000
userData:
assetBundleName:
assetBundleVariant:

11
com.unity.perception/Runtime/GroundTruth/Labeling/SemanticSegmentationBehaviour.cs


using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class SemanticSegmentationBehaviour : MonoBehaviour
{
public bool enableTransparency = false;
public float opacityThreshold = 1;
public bool useSegmentationMask;
public Texture2D segmentationMask;
}

11
com.unity.perception/Runtime/GroundTruth/Labeling/SemanticSegmentationBehaviour.cs.meta


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

8
TestProjects/PerceptionHDRP/Assets/Samples/Perception.meta


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

8
TestProjects/PerceptionHDRP/Assets/Samples/Perception/0.8.0-preview.2.meta


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

8
TestProjects/PerceptionHDRP/Assets/Samples/Perception/0.8.0-preview.2/Tutorial Files.meta


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

8
TestProjects/PerceptionHDRP/Assets/Samples/Perception/0.8.0-preview.2/Tutorial Files/Background Objects.meta


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

8
TestProjects/PerceptionHDRP/Assets/Samples/Perception/0.8.0-preview.2/Tutorial Files/Background Objects/Materials.meta


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

8
TestProjects/PerceptionHDRP/Assets/Samples/Perception/0.8.0-preview.2/Tutorial Files/Background Objects/Models.meta


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

8
TestProjects/PerceptionHDRP/Assets/Samples/Perception/0.8.0-preview.2/Tutorial Files/Background Objects/Prefabs.meta


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

8
TestProjects/PerceptionHDRP/Assets/Samples/Perception/0.8.0-preview.2/Tutorial Files/Background Textures.meta


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

8
TestProjects/PerceptionHDRP/Assets/Samples/Perception/0.8.0-preview.2/Tutorial Files/Background Textures/Avocado.meta


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

8
TestProjects/PerceptionHDRP/Assets/Samples/Perception/0.8.0-preview.2/Tutorial Files/Background Textures/Kiwi.meta


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

8
TestProjects/PerceptionHDRP/Assets/Samples/Perception/0.8.0-preview.2/Tutorial Files/Background Textures/Lime.meta


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

8
TestProjects/PerceptionHDRP/Assets/Samples/Perception/0.8.0-preview.2/Tutorial Files/Background Textures/Melon.meta


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

8
TestProjects/PerceptionHDRP/Assets/Samples/Perception/0.8.0-preview.2/Tutorial Files/Background Textures/Melon/Cantaloupe.meta


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

8
TestProjects/PerceptionHDRP/Assets/Samples/Perception/0.8.0-preview.2/Tutorial Files/Background Textures/Melon/Galia-Melon.meta


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

8
TestProjects/PerceptionHDRP/Assets/Samples/Perception/0.8.0-preview.2/Tutorial Files/Background Textures/Melon/Honeydew-Melon.meta


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

8
TestProjects/PerceptionHDRP/Assets/Samples/Perception/0.8.0-preview.2/Tutorial Files/Background Textures/Melon/Watermelon.meta


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

8
TestProjects/PerceptionHDRP/Assets/Samples/Perception/0.8.0-preview.2/Tutorial Files/Background Textures/Orange.meta


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

8
TestProjects/PerceptionHDRP/Assets/Samples/Perception/0.8.0-preview.2/Tutorial Files/Background Textures/Passion-Fruit.meta


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

8
TestProjects/PerceptionHDRP/Assets/Samples/Perception/0.8.0-preview.2/Tutorial Files/Background Textures/Pear.meta


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

8
TestProjects/PerceptionHDRP/Assets/Samples/Perception/0.8.0-preview.2/Tutorial Files/Background Textures/Pear/Anjou.meta


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

8
TestProjects/PerceptionHDRP/Assets/Samples/Perception/0.8.0-preview.2/Tutorial Files/Background Textures/Pear/Conference.meta


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

8
TestProjects/PerceptionHDRP/Assets/Samples/Perception/0.8.0-preview.2/Tutorial Files/Background Textures/Pear/Kaiser.meta


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

8
TestProjects/PerceptionHDRP/Assets/Samples/Perception/0.8.0-preview.2/Tutorial Files/Background Textures/Plum.meta


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

8
TestProjects/PerceptionHDRP/Assets/Samples/Perception/0.8.0-preview.2/Tutorial Files/Background Textures/Red-Grapefruit.meta


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

8
TestProjects/PerceptionHDRP/Assets/Samples/Perception/0.8.0-preview.2/Tutorial Files/Foreground Objects.meta


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

8
TestProjects/PerceptionHDRP/Assets/Samples/Perception/0.8.0-preview.2/Tutorial Files/Foreground Objects/Phase 1.meta


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

8
TestProjects/PerceptionHDRP/Assets/Samples/Perception/0.8.0-preview.2/Tutorial Files/Foreground Objects/Phase 1/Materials.meta


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

8
TestProjects/PerceptionHDRP/Assets/Samples/Perception/0.8.0-preview.2/Tutorial Files/Foreground Objects/Phase 1/Models.meta


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

8
TestProjects/PerceptionHDRP/Assets/Samples/Perception/0.8.0-preview.2/Tutorial Files/Foreground Objects/Phase 1/Prefabs.meta


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

8
TestProjects/PerceptionHDRP/Assets/Samples/Perception/0.8.0-preview.2/Tutorial Files/Foreground Objects/Phase 1/Textures.meta


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

8
TestProjects/PerceptionHDRP/Assets/Samples/Perception/0.8.0-preview.2/Tutorial Files/Shaders.meta


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

100
TestProjects/PerceptionURP/Assets/Materials/BlueTest.mat


%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!21 &2100000
Material:
serializedVersion: 6
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name: BlueTest
m_Shader: {fileID: 4800000, guid: d020a921fc4d94b6d8a40a3a69d118f8, type: 3}
m_ShaderKeywords:
m_LightmapFlags: 4
m_EnableInstancingVariants: 0
m_DoubleSidedGI: 0
m_CustomRenderQueue: -1
stringTagMap: {}
disabledShaderPasses:
- SHADOWCASTER
m_SavedProperties:
serializedVersion: 3
m_TexEnvs:
- _BaseMap:
m_Texture: {fileID: 2800000, guid: 7b20dce90f0ba45c9a7b6652f42735e4, type: 3}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _BumpMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _DetailTex:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _EmissionMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _MainTex:
m_Texture: {fileID: 2800000, guid: bc6ed62c29e144961bc6ac55cc87f418, type: 3}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _MetallicGlossMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _OcclusionMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _SpecGlossMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
m_Floats:
- _AlphaClip: 0
- _Blend: 0
- _BumpScale: 1
- _Cull: 2
- _Cutoff: 0.5
- _DstBlend: 10
- _EnableTransparency: 1
- _EnvironmentReflections: 1
- _GlossMapScale: 0
- _Glossiness: 0
- _GlossyReflections: 0
- _Metallic: 0
- _OcclusionStrength: 1
- _QueueOffset: 0
- _ReceiveShadows: 1
- _Smoothness: 0.5
- _SmoothnessTextureChannel: 0
- _SpecularHighlights: 1
- _SrcBlend: 5
- _Surface: 1
- _TextureIsSegmentationMask: 0
- _TransparencyThreshold: 1
- _WindQuality: 0
- _WorkflowMode: 1
- _ZWrite: 0
m_Colors:
- LabelingId: {r: 0, g: 1, b: 1, a: 1}
- _BaseColor: {r: 0, g: 0.98689985, b: 1, a: 1}
- _Color: {r: 1, g: 1, b: 1, a: 1}
- _EmissionColor: {r: 0, g: 0, b: 0, a: 1}
- _HueVariation: {r: 1, g: 0.5, b: 0, a: 0.1}
- _SpecColor: {r: 0.19999996, g: 0.19999996, b: 0.19999996, a: 1}
--- !u!114 &4119187615911450758
MonoBehaviour:
m_ObjectHideFlags: 11
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: d0353a89b1f911e48b9e16bdc9f2e058, type: 3}
m_Name:
m_EditorClassIdentifier:
version: 1

8
TestProjects/PerceptionURP/Assets/Materials/BlueTest.mat.meta


fileFormatVersion: 2
guid: c5ba0860d96224f92a7ea548cebc1687
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 2100000
userData:
assetBundleName:
assetBundleVariant:

100
TestProjects/PerceptionURP/Assets/Materials/GreenTest.mat


%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!21 &2100000
Material:
serializedVersion: 6
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name: GreenTest
m_Shader: {fileID: 4800000, guid: d020a921fc4d94b6d8a40a3a69d118f8, type: 3}
m_ShaderKeywords:
m_LightmapFlags: 4
m_EnableInstancingVariants: 0
m_DoubleSidedGI: 0
m_CustomRenderQueue: -1
stringTagMap: {}
disabledShaderPasses:
- SHADOWCASTER
m_SavedProperties:
serializedVersion: 3
m_TexEnvs:
- _BaseMap:
m_Texture: {fileID: 2800000, guid: 7b20dce90f0ba45c9a7b6652f42735e4, type: 3}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _BumpMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _DetailTex:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _EmissionMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _MainTex:
m_Texture: {fileID: 2800000, guid: bc6ed62c29e144961bc6ac55cc87f418, type: 3}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _MetallicGlossMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _OcclusionMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _SpecGlossMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
m_Floats:
- _AlphaClip: 0
- _Blend: 0
- _BumpScale: 1
- _Cull: 2
- _Cutoff: 0.5
- _DstBlend: 10
- _EnableTransparency: 1
- _EnvironmentReflections: 1
- _GlossMapScale: 0
- _Glossiness: 0
- _GlossyReflections: 0
- _Metallic: 0
- _OcclusionStrength: 1
- _QueueOffset: 0
- _ReceiveShadows: 1
- _Smoothness: 0.5
- _SmoothnessTextureChannel: 0
- _SpecularHighlights: 1
- _SrcBlend: 5
- _Surface: 1
- _TextureIsSegmentationMask: 0
- _TransparencyThreshold: 1
- _WindQuality: 0
- _WorkflowMode: 1
- _ZWrite: 0
m_Colors:
- LabelingId: {r: 0, g: 1, b: 0, a: 1}
- _BaseColor: {r: 0.014550221, g: 0.8980392, b: 0, a: 1}
- _Color: {r: 1, g: 1, b: 1, a: 1}
- _EmissionColor: {r: 0, g: 0, b: 0, a: 1}
- _HueVariation: {r: 1, g: 0.5, b: 0, a: 0.1}
- _SpecColor: {r: 0.19999996, g: 0.19999996, b: 0.19999996, a: 1}
--- !u!114 &4119187615911450758
MonoBehaviour:
m_ObjectHideFlags: 11
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: d0353a89b1f911e48b9e16bdc9f2e058, type: 3}
m_Name:
m_EditorClassIdentifier:
version: 1

8
TestProjects/PerceptionURP/Assets/Materials/GreenTest.mat.meta


fileFormatVersion: 2
guid: ab2aa9ca94b47444c9dc1c3b87f72b0b
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 2100000
userData:
assetBundleName:
assetBundleVariant:

91
TestProjects/PerceptionURP/Assets/Materials/LitBlueTransparent.mat


%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!21 &2100000
Material:
serializedVersion: 6
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name: LitBlueTransparent
m_Shader: {fileID: 4800000, guid: 933532a4fcc9baf4fa0491de14d08ed7, type: 3}
m_ShaderKeywords: _RECEIVE_SHADOWS_OFF
m_LightmapFlags: 4
m_EnableInstancingVariants: 0
m_DoubleSidedGI: 0
m_CustomRenderQueue: 3050
stringTagMap:
RenderType: Transparent
disabledShaderPasses:
- SHADOWCASTER
m_SavedProperties:
serializedVersion: 3
m_TexEnvs:
- _BaseMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _BumpMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _EmissionMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _MainTex:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _MetallicGlossMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _OcclusionMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _SpecGlossMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
m_Floats:
- _AlphaClip: 0
- _Blend: 0
- _BumpScale: 1
- _Cull: 2
- _Cutoff: 0.5
- _DstBlend: 10
- _EnvironmentReflections: 1
- _GlossMapScale: 0
- _Glossiness: 0
- _GlossyReflections: 0
- _Metallic: 0
- _OcclusionStrength: 1
- _QueueOffset: 0
- _ReceiveShadows: 0
- _Smoothness: 0.5
- _SmoothnessTextureChannel: 0
- _SpecularHighlights: 1
- _SrcBlend: 5
- _Surface: 1
- _WorkflowMode: 1
- _ZWrite: 0
m_Colors:
- _BaseColor: {r: 0.5613208, g: 0.5900851, b: 1, a: 1}
- _Color: {r: 1, g: 1, b: 1, a: 1}
- _EmissionColor: {r: 0, g: 0, b: 0, a: 1}
- _SpecColor: {r: 0.19999996, g: 0.19999996, b: 0.19999996, a: 1}
--- !u!114 &7496109360143286293
MonoBehaviour:
m_ObjectHideFlags: 11
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: d0353a89b1f911e48b9e16bdc9f2e058, type: 3}
m_Name:
m_EditorClassIdentifier:
version: 1

8
TestProjects/PerceptionURP/Assets/Materials/LitBlueTransparent.mat.meta


fileFormatVersion: 2
guid: 97a9b999beb78410391d2032d6099538
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 2100000
userData:
assetBundleName:
assetBundleVariant:

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

正在加载...
取消
保存