比较提交

...
此合并请求有变更与目标分支冲突。
/TestProjects/PerceptionURP/Packages/manifest.json
/TestProjects/PerceptionURP/ProjectSettings/ProjectVersion.txt
/TestProjects/PerceptionURP/Assets/Scenes/SampleScene.unity
/com.unity.perception/Runtime/GroundTruth/PerceptionCamera.cs
/TestProjects/PerceptionURP/Assets/Fonts/Inter-Light.otf
/TestProjects/PerceptionURP/Assets/Textures/Resources/OutlineMaterial.mat.meta
/TestProjects/PerceptionURP/Assets/Textures/sharp_done_white_18dp.png
/TestProjects/PerceptionURP/Assets/ExampleLabelingConfiguration.asset

2 次代码提交

作者 SHA1 备注 提交日期
Steven Borkman 0645e2fb commiting changes that visualize on overlay layer 4 年前
Steven Borkman 0cca8c9a initial visualization, needs rework 4 年前
共有 28 个文件被更改,包括 2723 次插入6 次删除
  1. 2
      TestProjects/PerceptionURP/Packages/manifest.json
  2. 4
      TestProjects/PerceptionURP/ProjectSettings/ProjectVersion.txt
  3. 2
      TestProjects/PerceptionURP/ProjectSettings/TagManager.asset
  4. 9
      TestProjects/PerceptionURP/Assets/ExampleLabelingConfiguration.asset
  5. 962
      TestProjects/PerceptionURP/Assets/Scenes/SampleScene.unity
  6. 149
      com.unity.perception/Runtime/GroundTruth/PerceptionCamera.cs
  7. 8
      TestProjects/PerceptionURP/Assets/Textures.meta
  8. 26
      TestProjects/PerceptionURP/Assets/ExampleScripts/BoxToggleHandler.cs
  9. 27
      TestProjects/PerceptionURP/Assets/ExampleScripts/SegmentationToggleHandler.cs
  10. 11
      TestProjects/PerceptionURP/Assets/ExampleScripts/SegmentationToggleHandler.cs.meta
  11. 33
      TestProjects/PerceptionURP/Assets/ExampleScripts/TransparencySlider.cs
  12. 11
      TestProjects/PerceptionURP/Assets/ExampleScripts/TransparencySlider.cs.meta
  13. 11
      TestProjects/PerceptionURP/Assets/ExampleScripts/BoxToggleHandler.cs.meta
  14. 8
      TestProjects/PerceptionURP/Assets/Fonts.meta
  15. 1001
      TestProjects/PerceptionURP/Assets/Fonts/Inter-Light.otf
  16. 23
      TestProjects/PerceptionURP/Assets/Fonts/Inter-Light.otf.meta
  17. 8
      TestProjects/PerceptionURP/Assets/Textures/Resources.meta
  18. 107
      TestProjects/PerceptionURP/Assets/Textures/Resources/SegmentationMaterial.mat
  19. 8
      TestProjects/PerceptionURP/Assets/Textures/Resources/SegmentationMaterial.mat.meta
  20. 8
      TestProjects/PerceptionURP/Assets/Textures/Resources/OutlineMaterial.mat.meta
  21. 92
      TestProjects/PerceptionURP/Assets/Textures/Resources/OutlineMaterial.mat
  22. 8
      TestProjects/PerceptionURP/Assets/Textures/outline_box.png
  23. 104
      TestProjects/PerceptionURP/Assets/Textures/outline_box.png.meta
  24. 3
      TestProjects/PerceptionURP/Assets/Textures/sharp_done_white_18dp.png
  25. 104
      TestProjects/PerceptionURP/Assets/Textures/sharp_done_white_18dp.png.meta

2
TestProjects/PerceptionURP/Packages/manifest.json


"com.unity.render-pipelines.universal": "7.3.1",
"com.unity.simulation.capture": "0.0.10-preview.6",
"com.unity.simulation.core": "0.0.10-preview.8",
"com.unity.test-framework": "1.1.13",
"com.unity.test-framework": "1.1.14",
"com.unity.textmeshpro": "2.0.1",
"com.unity.timeline": "1.2.12",
"com.unity.ugui": "1.0.0",

4
TestProjects/PerceptionURP/ProjectSettings/ProjectVersion.txt


m_EditorVersion: 2019.3.13f1
m_EditorVersionWithRevision: 2019.3.13f1 (d4ddf0d95db9)
m_EditorVersion: 2019.3.15f1
m_EditorVersionWithRevision: 2019.3.15f1 (59ff3e03856d)

2
TestProjects/PerceptionURP/ProjectSettings/TagManager.asset


- UI
-
-
-
- Bounds
-
-
-

9
TestProjects/PerceptionURP/Assets/ExampleLabelingConfiguration.asset


- id: 3
label: Crate
value: 30000
- id: 4
label: BoxMookie
value: 4000
- id: 5
label: BoxKeith
value: 5000
- id: 6
label: BoxGooden
value: 6000

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

149
com.unity.perception/Runtime/GroundTruth/PerceptionCamera.cs


#if HDRP_PRESENT
using UnityEngine.Rendering.HighDefinition;
#endif
using UnityEngine.UI;
namespace UnityEngine.Perception.GroundTruth
{

/// Whether object bounding boxes should be computed
/// </summary>
public bool produceBoundingBoxAnnotations = true;
public bool visualizeBoundingBoxAnnotations = true;
public bool visualizeSegementationTextures = true;
// Transparency value for the visualization texture, value needs to be between 0 and 1
public float visualizeSegmentationTextureTransparency = 0.5f;
public float GetVisualizeSegmentationTextureTransparency()
{
return this.visualizeSegmentationTextureTransparency;
}
public void SetVisualizeSegmentationTextureTransparency(float visualizeSegmentationTextureTransparency)
{
this.visualizeSegmentationTextureTransparency = visualizeSegmentationTextureTransparency;
if (segmentationVisualizerGameObject != null)
{
var renderer = segmentationVisualizerGameObject.GetComponent<MeshRenderer>();
if (renderer != null) renderer.material.SetColor("_BaseColor", new Color(1,1,1,visualizeSegmentationTextureTransparency));
}
}
/// <summary>
/// The ID to use for bounding box annotations in the resulting dataset
/// </summary>

return m_PersistentSensorData.Remove(key);
}
public void SetBoundsVisualizationEnabled(bool enable)
{
if (boundsVisualizerHolder != null) boundsVisualizerHolder.SetActive(enable);
CaptureOptions.useAsyncReadbackIfSupported = !enable;
}
public void SetEnableSegmentationVisualization(bool enable)
{
visualizeSegementationTextures = enable;
if (segmentationVisualizerGameObject != null) segmentationVisualizerGameObject.SetActive(enable);
}
public bool IsSegmentationVisualizationEnabled()
{
return visualizeSegementationTextures;
}
private int frameCount = 0;
private Dictionary<string, MeshFilter> quadRenderCache = null;
private int visualizerLayerId = 0;
private GameObject boundsVisualizerHolder = null;
private GameObject segmentationVisualizerGameObject = null;
// Start is called before the first frame update
void Awake()
{

semanticSegmentationUrpPass = new SemanticSegmentationUrpPass(myCamera, labelingTexture, LabelingConfiguration);
#endif
if (visualizeBoundingBoxAnnotations)
{
CaptureOptions.useAsyncReadbackIfSupported = false;
}
if (produceSegmentationImages)
{
var specs = LabelingConfiguration.LabelEntries.Select((l) => new SemanticSegmentationSpec()

if (produceRenderedObjectInfoMetric)
ProduceRenderedObjectInfoMetric(renderedObjectInfos, frameCount);
// TODO not sure if this is the right place for this
VisualizeSegmentationTexture(labelingTexture);
visualizerLayerId = LayerMask.NameToLayer("Bounds");
if (visualizeBoundingBoxAnnotations)
{
quadRenderCache = new Dictionary<string, MeshFilter>();
}
}
// ReSharper disable InconsistentNaming

}
#endif
MeshFilter GetVisualizationQuad(string label)
{
if (boundsVisualizerHolder == null)
{
boundsVisualizerHolder = new GameObject("BoundsVisualizerHolder");
}
if (!quadRenderCache.ContainsKey(label))
{
var go = new GameObject(label + "Quad");
go.layer = visualizerLayerId;
var meshRenderer = go.AddComponent<MeshRenderer>();
var filter = go.AddComponent<MeshFilter>();
meshRenderer.material = Resources.Load<Material>("OutlineMaterial");
quadRenderCache[label] = filter;
go.transform.parent = boundsVisualizerHolder.transform;
}
return quadRenderCache[label];
}
void VisualizeSegmentationTexture(RenderTexture texture)
{
MeshRenderer mr = null;
if (segmentationVisualizerGameObject == null)
{
segmentationVisualizerGameObject = new GameObject("SegmentationTextureRenderer");
segmentationVisualizerGameObject.layer = visualizerLayerId;
var mf = segmentationVisualizerGameObject.AddComponent<MeshFilter>();
mr = segmentationVisualizerGameObject.AddComponent<MeshRenderer>();
mr.material = Resources.Load<Material>("SegmentationMaterial");
var cam = GetComponent<Camera>();
var ll = cam.ScreenToWorldPoint(new Vector3(0, 0, 10));
var ul = cam.ScreenToWorldPoint(new Vector3(0, cam.pixelHeight, 10));
var ur = cam.ScreenToWorldPoint(new Vector3(cam.pixelWidth, cam.pixelHeight, 10));
var lr = cam.ScreenToWorldPoint(new Vector3(cam.pixelWidth, 0, 10));
// Set up the mesh to project the segmentation render texture on
mf.mesh.vertices = new Vector3[] { ll, ul, ur, lr };
mf.mesh.triangles = new int[] { 0, 1, 2, 0, 2, 3 };
mf.mesh.uv = new Vector2[] { Vector2.zero, new Vector2(0, 1), new Vector2(1, 1), new Vector2(1, 0) };
if (mr != null)
{
mr.material.SetColor("_BaseColor", new Color(1,1,1,visualizeSegmentationTextureTransparency));
mr.material.SetTexture("_BaseMap", texture);
}
}
}
void VisualizeBoundingBoxes(BoundingBoxValue[] inBoxes)
{
if (!visualizeBoundingBoxAnnotations) return;
foreach (var box in inBoxes)
{
var filter = GetVisualizationQuad(box.label_name);
var cam = GetComponent<Camera>();
var height = cam.pixelHeight * 0.5f;
var y = height + (height - box.y);
Vector3 ll = cam.ScreenToWorldPoint(new Vector3(box.x, y, 1));
Vector3 ul = cam.ScreenToWorldPoint(new Vector3(box.x, y - box.height, 1));
Vector3 ur = cam.ScreenToWorldPoint(new Vector3(box.x + box.width, y - box.height, 1));
Vector3 lr = cam.ScreenToWorldPoint(new Vector3(box.x + box.width, y, 1));
Vector3[] verts = new Vector3[4] {ll, ul, ur, lr};
int[] tris = new int[6] {0, 2, 1, 0, 3, 2};
Vector2[] uvs = new Vector2[4] {Vector2.zero, new Vector2(0, 1), new Vector2(1, 1), new Vector2(1, 0) };
Mesh mesh = new Mesh();
mesh.vertices = verts;
mesh.triangles = tris;
mesh.uv = uvs;
filter.mesh = mesh;
}
}
void ProduceBoundingBoxesAnnotation(NativeArray<RenderedObjectInfo> renderedObjectInfos, List<LabelEntry> labelingConfigurations, int frameCount)
{

};
}
// TODO I'm not sure that I'm calling this from the right place
VisualizeBoundingBoxes(m_BoundingBoxValues);
boundingBoxAsyncAnnotation.ReportValues(m_BoundingBoxValues);
}
}

var dxLocalPath = Path.Combine(k_SemanticSegmentationDirectory, k_SegmentationFilePrefix) + frameCount + ".png";
var path = Path.Combine(Manager.Instance.GetDirectoryFor(k_SemanticSegmentationDirectory), k_SegmentationFilePrefix) + frameCount + ".png";
var annotation = asyncCaptureInfo.SegmentationAsyncAnnotation;
if (!annotation.IsValid)
return;

8
TestProjects/PerceptionURP/Assets/Textures.meta


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

26
TestProjects/PerceptionURP/Assets/ExampleScripts/BoxToggleHandler.cs


using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Perception.GroundTruth;
public class BoxToggleHandler : MonoBehaviour
{
public PerceptionCamera perceptionCamera;
// Start is called before the first frame update
void Start()
{
}
// Update is called once per frame
void Update()
{
}
public void OnToggle(bool enabled)
{
perceptionCamera.SetBoundsVisualizationEnabled(enabled);
}
}

27
TestProjects/PerceptionURP/Assets/ExampleScripts/SegmentationToggleHandler.cs


using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Perception.GroundTruth;
public class SegmentationToggleHandler : MonoBehaviour
{
public PerceptionCamera perceptionCamera;
// Start is called before the first frame update
void Start()
{
// TODO set up the default toggle state based on
// the perception cameras default values
}
// Update is called once per frame
void Update()
{
}
public void OnToggled(bool enabled)
{
perceptionCamera.SetEnableSegmentationVisualization(enabled);
}
}

11
TestProjects/PerceptionURP/Assets/ExampleScripts/SegmentationToggleHandler.cs.meta


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

33
TestProjects/PerceptionURP/Assets/ExampleScripts/TransparencySlider.cs


using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Perception.GroundTruth;
using UnityEngine.UI;
public class TransparencySlider : MonoBehaviour
{
public PerceptionCamera camera;
private Slider slider;
private bool dontEcho = false;
// Start is called before the first frame update
void Start()
{
slider = GetComponent<Slider>();
dontEcho = true;
slider.value = camera.GetVisualizeSegmentationTextureTransparency();
dontEcho = false;
}
// Update is called once per frame
void Update()
{
}
public void OnValueChanged(float updated)
{
if (!dontEcho) camera.SetVisualizeSegmentationTextureTransparency(slider.value);
}
}

11
TestProjects/PerceptionURP/Assets/ExampleScripts/TransparencySlider.cs.meta


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

11
TestProjects/PerceptionURP/Assets/ExampleScripts/BoxToggleHandler.cs.meta


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

8
TestProjects/PerceptionURP/Assets/Fonts.meta


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

1001
TestProjects/PerceptionURP/Assets/Fonts/Inter-Light.otf
文件差异内容过多而无法显示
查看文件

23
TestProjects/PerceptionURP/Assets/Fonts/Inter-Light.otf.meta


fileFormatVersion: 2
guid: 807ae4a0302114abc9474a0222814b27
TrueTypeFontImporter:
externalObjects: {}
serializedVersion: 4
fontSize: 16
forceTextureCase: -2
characterSpacing: 0
characterPadding: 1
includeFontData: 1
fontName: Inter
fontNames:
- Inter
fallbackFontReferences:
- {fileID: 12800000, guid: cbeabcf7adb6f49e78f4d2bb72e7f376, type: 3}
customCharacters:
fontRenderingMode: 0
ascentCalculationMode: 1
useLegacyBoundsCalculation: 0
shouldRoundAdvanceValue: 1
userData:
assetBundleName:
assetBundleVariant:

8
TestProjects/PerceptionURP/Assets/Textures/Resources.meta


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

107
TestProjects/PerceptionURP/Assets/Textures/Resources/SegmentationMaterial.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: SegmentationMaterial
m_Shader: {fileID: 4800000, guid: 650dd9526735d5b46b79224bc6e94025, 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:
- _AlphaTex:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _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}
- _MaskTex:
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}
- _NormalMap:
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
- _EnableExternalAlpha: 0
- _EnvironmentReflections: 1
- _GlossMapScale: 0
- _Glossiness: 0
- _GlossyReflections: 0
- _Metallic: 0
- _OcclusionStrength: 1
- _QueueOffset: 0
- _ReceiveShadows: 1
- _SampleGI: 0
- _Smoothness: 0.5
- _SmoothnessTextureChannel: 0
- _SpecularHighlights: 1
- _SrcBlend: 5
- _Surface: 1
- _WorkflowMode: 1
- _ZWrite: 0
m_Colors:
- _BaseColor: {r: 1, g: 1, b: 1, a: 0.50980395}
- _Color: {r: 1, g: 1, b: 1, a: 1}
- _EmissionColor: {r: 0, g: 0, b: 0, a: 1}
- _Flip: {r: 1, g: 1, b: 1, a: 1}
- _RendererColor: {r: 1, g: 1, b: 1, a: 1}
- _SpecColor: {r: 0.19999996, g: 0.19999996, b: 0.19999996, a: 1}
--- !u!114 &3089368426582508830
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/Textures/Resources/SegmentationMaterial.mat.meta


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

8
TestProjects/PerceptionURP/Assets/Textures/Resources/OutlineMaterial.mat.meta


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

92
TestProjects/PerceptionURP/Assets/Textures/Resources/OutlineMaterial.mat


%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!114 &-6196874654385650420
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: OutlineMaterial
m_Shader: {fileID: 4800000, guid: 650dd9526735d5b46b79224bc6e94025, 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: 417a472ba22dc45ca97477827295176f, 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: 417a472ba22dc45ca97477827295176f, 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: 0
- _GlossMapScale: 0
- _Glossiness: 0
- _GlossyReflections: 0
- _Metallic: 0
- _OcclusionStrength: 1
- _QueueOffset: 0
- _ReceiveShadows: 1
- _SampleGI: 0
- _Smoothness: 0.5
- _SmoothnessTextureChannel: 0
- _SpecularHighlights: 0
- _SrcBlend: 5
- _Surface: 1
- _WorkflowMode: 0
- _ZWrite: 0
m_Colors:
- _BaseColor: {r: 0, g: 0.6256573, 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}

8
TestProjects/PerceptionURP/Assets/Textures/outline_box.png

之前 之后
宽度: 100  |  高度: 100  |  大小: 2.2 KiB

104
TestProjects/PerceptionURP/Assets/Textures/outline_box.png.meta


fileFormatVersion: 2
guid: 417a472ba22dc45ca97477827295176f
TextureImporter:
internalIDToNameTable: []
externalObjects: {}
serializedVersion: 11
mipmaps:
mipMapMode: 0
enableMipMap: 0
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: 0
lightmap: 0
compressionQuality: 50
spriteMode: 1
spriteExtrude: 0
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: 1
spriteTessellationDetail: -1
textureType: 8
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
- serializedVersion: 3
buildTarget: Standalone
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: 5e97eb03825dee720800000000000000
internalID: 0
vertices: []
indices:
edges: []
weights: []
secondaryTextures: []
spritePackingTag:
pSDRemoveMatte: 0
pSDShowRemoveMatteOption: 0
userData:
assetBundleName:
assetBundleVariant:

3
TestProjects/PerceptionURP/Assets/Textures/sharp_done_white_18dp.png

之前 之后
宽度: 36  |  高度: 36  |  大小: 171 B

104
TestProjects/PerceptionURP/Assets/Textures/sharp_done_white_18dp.png.meta


fileFormatVersion: 2
guid: 2e218e2f433e54da9a576c807fbf99f9
TextureImporter:
internalIDToNameTable: []
externalObjects: {}
serializedVersion: 11
mipmaps:
mipMapMode: 0
enableMipMap: 0
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: 0
lightmap: 0
compressionQuality: 50
spriteMode: 1
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: 1
spriteTessellationDetail: -1
textureType: 8
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
- serializedVersion: 3
buildTarget: Standalone
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: 5e97eb03825dee720800000000000000
internalID: 0
vertices: []
indices:
edges: []
weights: []
secondaryTextures: []
spritePackingTag:
pSDRemoveMatte: 0
pSDShowRemoveMatteOption: 0
userData:
assetBundleName:
assetBundleVariant:
正在加载...
取消
保存