浏览代码

small changes

/feature-new-clouds
Andre McGrail 4 年前
当前提交
36477726
共有 4 个文件被更改,包括 146 次插入143 次删除
  1. 282
      Assets/Objects/environment/Clouds/CloudMeshes.asset
  2. 4
      Assets/Objects/environment/Clouds/Shader Graphs_Clouds.mat
  3. 1
      Assets/Scripts/Environment/CloudRenderer.cs
  4. 2
      Assets/Scripts/Utility/SpriteMeshGenerator.cs

282
Assets/Objects/environment/Clouds/CloudMeshes.asset


%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!43 &-5931177623366898132
--- !u!43 &-3871548463622208521
m_Name: Clouds_FBDA_7
m_Name: Clouds_FBDA_6
indexCount: 33
indexCount: 27
vertexCount: 13
vertexCount: 11
m_Center: {x: -0.049999952, y: -0.9899999, z: 0}
m_Extent: {x: 7.67, y: 3.19, z: 0}
m_Center: {x: 0.36000013, y: -0.100000024, z: 0}
m_Extent: {x: 7.58, y: 3.3400002, z: 0}
m_Shapes:
vertices: []
shapes: []

m_KeepVertices: 1
m_KeepIndices: 1
m_IndexFormat: 0
m_IndexBuffer: 0c000b0009000a0009000b00080009000a00060009000800070006000800050006000700030006000500040003000500000003000400010003000000020001000000
m_IndexBuffer: 0a0009000700080007000900040007000800060007000400050006000400010005000400030001000400000001000300020001000000
m_VertexCount: 13
m_VertexCount: 11
m_Channels:
- stream: 0
offset: 0

format: 0
dimension: 0
- stream: 0
offset: 0
format: 0
dimension: 0
- stream: 0
format: 2
dimension: 4
- stream: 0
offset: 28
format: 0
dimension: 2
- stream: 0

offset: 0
format: 0
dimension: 0
m_DataSize: 416
_typelessdata: b81ed540295c8f3f0000000000000000000000000000803f00a0693f00001c3e0ad7f3407b140ec00000000000000000000000000000803f00a06f3f0000913d5c8ff240c3f528bf0000000000000000000000000000803f00606f3f0000df3d000090408fc285c00000000000000000000000000000803f00205c3f0400bc3ca4703d3fd7a3b03f0000000000000000000000000000803f00a0443f0080223eae47e1be9a99993e0000000000000000000000000000803f00403d3f0080073e8fc215c0e17a84c00000000000000000000000000000803f0060313f0000c43cec51b8bfcdcc0c400000000000000000000000000000803f0000373f0000373eb81e85c0cdcc0c400000000000000000000000000000803f0000263f0000373ea470ddc0c3f528c00000000000000000000000000000803f00c0143f0000783dcdccecc0b81e853f0000000000000000000000000000803f00c0113f00001a3e3d0af7c08fc2753e0000000000000000000000000000803f00c00f3f0000063e3d0af7c0ae47a1bf0000000000000000000000000000803f00c00f3f0000c13d
m_DataSize: 396
_typelessdata: 7b14fe4048e1ba3f0000000000000000000000000000803f000000000040e33e0080243e713dea4052b83ec00000000000000000000000000000803f000000000080db3e0000563d7b14fe403333b3bf0000000000000000000000000000803f000000000040e33e0000ba3d7b149e40295c4f400000000000000000000000000000803f0000000000c0bd3e0000513e6666a63f295c4f400000000000000000000000000000803f000000000040903e0000513e85eb913f48e15ac00000000000000000000000000000803f0000000000408e3e00002a3dc3f5a8bff6285cc00000000000000000000000000000803f0000000000005f3e0000283d713daac0f6285cc00000000000000000000000000000803f000000000000f63d0000283d14aed7c01f856b3f0000000000000000000000000000803f000000000000af3d0000173e8fc2e5c07b14aebe0000000000000000000000000000803f000000000000993d0000ef3d3d0ae7c03d0a17c00000000000000000000000000000803f000000000000973d00008a3d
m_CompressedMesh:
m_Vertices:
m_NumItems: 0

m_BitSize: 0
m_UVInfo: 0
m_LocalAABB:
m_Center: {x: -0.049999952, y: -0.9899999, z: 0}
m_Extent: {x: 7.67, y: 3.19, z: 0}
m_Center: {x: 0.36000013, y: -0.100000024, z: 0}
m_Extent: {x: 7.58, y: 3.3400002, z: 0}
m_MeshUsageFlags: 0
m_BakedConvexCollisionMesh:
m_BakedTriangleCollisionMesh:

offset: 0
size: 0
path:
--- !u!43 &-3765698233524180676
--- !u!43 &-3514557240459462365
m_Name: Clouds_FBDA_4
m_Name: Clouds_FBDA_0
indexCount: 45
indexCount: 39
vertexCount: 17
vertexCount: 15
m_Center: {x: 0.26999998, y: -0.39999986, z: 0}
m_Extent: {x: 8.23, y: 4.3199997, z: 0}
m_Center: {x: 0.119999886, y: -0.83000004, z: 0}
m_Extent: {x: 8.12, y: 3.5900002, z: 0}
m_Shapes:
vertices: []
shapes: []

m_KeepVertices: 1
m_KeepIndices: 1
m_IndexFormat: 0
m_IndexBuffer: 10000f000e000c000e000f0007000e000c000b0007000c000d000b000c000a0007000b00090007000a00080007000900060007000800030007000600050003000600040003000500000003000400010003000000020001000000
m_IndexBuffer: 0e000d000b000c000b000d000a000b000c0009000b000a00080009000a00040009000800070004000800060004000700050004000600000004000500030004000000010003000000020001000000
m_VertexCount: 17
m_VertexCount: 15
m_Channels:
- stream: 0
offset: 0

format: 0
dimension: 0
- stream: 0
offset: 0
format: 0
dimension: 0
offset: 24
format: 2
dimension: 4
offset: 24
offset: 28
format: 0
dimension: 2
- stream: 0

offset: 0
format: 0
dimension: 0
m_DataSize: 544
_typelessdata: 9a99f9403d0a57400000000000000000000000000000803f0080e13e0000ea3e0000084185eb31c00000000000000000000000000000803f0040ea3e00409d3e000008410ad7a33e0000000000000000000000000000803f0040ea3e0000c43ef628ec40333383c00000000000000000000000000000803f0040dc3e00c08c3ec3f5d840ec5178400000000000000000000000000000803f00c0d43e0080f03ee17a544048e17a400000000000000000000000000000803f0080a93e0000f13e0ad7e33f52b8de3f0000000000000000000000000000803f0040963e00c0d53ecdcccc3f3d0a97c00000000000000000000000000000803f0000943e0000853e9a9919bf0ad723400000000000000000000000000000803f0000713e0000e03ec3f5e8bf0ad7e33f0000000000000000000000000000803f0080523e0040d63e5c8f02c00ad7233d0000000000000000000000000000803f00004d3e0080c03e8fc235c00ad7233d0000000000000000000000000000803f0000393e0080c03e3d0ad7c0ae47613f0000000000000000000000000000803f0000b03d0000cb3e1f856bc03d0a973f0000000000000000000000000000803f0000243e00c0ce3e48e1eac0ae4791c00000000000000000000000000000803f0000913d0040873e52b8fec0c3f508c00000000000000000000000000000803f0000643d0040a53e52b8fec0d7a370c00000000000000000000000000000803f0000643d0000913e
m_DataSize: 540
_typelessdata: a470dd40d7a3703f0000000000000000000000000000803f000000000080d63e00e0653f0ad70341333313c00000000000000000000000000000803f000000000000e73e00a0513f0ad70341cdcccc3e0000000000000000000000000000803f000000000000e73e0080623f48e1da405c8f62c00000000000000000000000000000803f000000000080d53e00e0493f3d0a5740cdcc8cc00000000000000000000000000000803f000000000000aa3e0080443f295c0f40cdcccc3f0000000000000000000000000000803f0000000000009c3e00006a3f1f85eb3ef6285c3f0000000000000000000000000000803f0000000000c0853e0060653fe17ad4bfd7a330400000000000000000000000000000803f000000000080563e0040713f14ae47c0295c0f400000000000000000000000000000803f000000000000323e00006e3f48e17ac0a4708dc00000000000000000000000000000803f0000000000001e3e0060443fd7a3a0c08fc2f5bd0000000000000000000000000000803f000000000080023e00405f3f3d0ad7c0a4708dc00000000000000000000000000000803f000000000000b03d0060443ff628dcc0f6285c3f0000000000000000000000000000803f000000000000a83d0060653f000000c1713d0abf0000000000000000000000000000803f000000000000603d00a05c3f000000c1f628dcbf0000000000000000000000000000803f000000000000603d0040553f
m_CompressedMesh:
m_Vertices:
m_NumItems: 0

m_BitSize: 0
m_UVInfo: 0
m_LocalAABB:
m_Center: {x: 0.26999998, y: -0.39999986, z: 0}
m_Extent: {x: 8.23, y: 4.3199997, z: 0}
m_Center: {x: 0.119999886, y: -0.83000004, z: 0}
m_Extent: {x: 8.12, y: 3.5900002, z: 0}
m_MeshUsageFlags: 0
m_BakedConvexCollisionMesh:
m_BakedTriangleCollisionMesh:

offset: 0
size: 0
path:
--- !u!43 &-955443974493614115
--- !u!43 &-3485441094670554222
m_Name: Clouds_FBDA_2
m_Name: Clouds_FBDA_4
indexCount: 33
indexCount: 45
vertexCount: 13
vertexCount: 17
m_Center: {x: -0.07999992, y: -0.8299999, z: 0}
m_Extent: {x: 7.9, y: 3.75, z: 0}
m_Center: {x: 0.26999998, y: -0.39999986, z: 0}
m_Extent: {x: 8.23, y: 4.3199997, z: 0}
m_Shapes:
vertices: []
shapes: []

m_KeepVertices: 1
m_KeepIndices: 1
m_IndexFormat: 0
m_IndexBuffer: 0c000b0008000a0008000b00090008000a00070008000900010008000700060001000700050001000600040001000500030001000400000001000300020001000000
m_IndexBuffer: 10000f000e000c000e000f0007000e000c000b0007000c000d000b000c000a0007000b00090007000a00080007000900060007000800030007000600050003000600040003000500000003000400010003000000020001000000
m_VertexCount: 13
m_VertexCount: 17
m_Channels:
- stream: 0
offset: 0

format: 0
dimension: 0
- stream: 0
offset: 0
format: 0
dimension: 0
- stream: 0
format: 2
dimension: 4
- stream: 0
offset: 28
format: 0
dimension: 2
- stream: 0

offset: 0
format: 0
dimension: 0
m_DataSize: 416
_typelessdata: 14aef7400ad7a33c0000000000000000000000000000803f00c0e03e0020203ff628cc405c8f92c00000000000000000000000000000803f00c0cf3e0060033f713dfa40cdcc6cc00000000000000000000000000000803f00c0e13e00e0083f1f859b400ad7e33f0000000000000000000000000000803f00c0bc3e00202b3fc3f52840ae4701400000000000000000000000000000803f0000a13e00a02c3f7b14ee3fc3f5283f0000000000000000000000000000803f0040973e0020243fcdcccc3e3d0ad73f0000000000000000000000000000803f0000853e00802a3f1f85abbfcdcc8c3f0000000000000000000000000000803f00805e3e00e0263f48e19ac0f6288cc00000000000000000000000000000803f0000073e00a0043f713d4ac048e13a400000000000000000000000000000803f0000313e0040323f52b89ec09a9919400000000000000000000000000000803f0000043e00002f3fae47e1c0cdcccc3d0000000000000000000000000000803f0000a03d00a0203f295cffc052b81ec00000000000000000000000000000803f0000623d0080103f
m_DataSize: 612
_typelessdata: 9a99f9403d0a57400000000000000000000000000000803f000000000080e13e0000ea3e0000084185eb31c00000000000000000000000000000803f000000000040ea3e00409d3e000008410ad7a33e0000000000000000000000000000803f000000000040ea3e0000c43ef628ec40333383c00000000000000000000000000000803f000000000040dc3e00c08c3ec3f5d840ec5178400000000000000000000000000000803f0000000000c0d43e0080f03ee17a544048e17a400000000000000000000000000000803f000000000080a93e0000f13e0ad7e33f52b8de3f0000000000000000000000000000803f000000000040963e00c0d53ecdcccc3f3d0a97c00000000000000000000000000000803f000000000000943e0000853e9a9919bf0ad723400000000000000000000000000000803f000000000000713e0000e03ec3f5e8bf0ad7e33f0000000000000000000000000000803f000000000080523e0040d63e5c8f02c00ad7233d0000000000000000000000000000803f0000000000004d3e0080c03e8fc235c00ad7233d0000000000000000000000000000803f000000000000393e0080c03e3d0ad7c0ae47613f0000000000000000000000000000803f000000000000b03d0000cb3e1f856bc03d0a973f0000000000000000000000000000803f000000000000243e00c0ce3e48e1eac0ae4791c00000000000000000000000000000803f000000000000913d0040873e52b8fec0c3f508c00000000000000000000000000000803f000000000000643d0040a53e52b8fec0d7a370c00000000000000000000000000000803f000000000000643d0000913e
m_CompressedMesh:
m_Vertices:
m_NumItems: 0

m_BitSize: 0
m_UVInfo: 0
m_LocalAABB:
m_Center: {x: -0.07999992, y: -0.8299999, z: 0}
m_Extent: {x: 7.9, y: 3.75, z: 0}
m_Center: {x: 0.26999998, y: -0.39999986, z: 0}
m_Extent: {x: 8.23, y: 4.3199997, z: 0}
m_MeshUsageFlags: 0
m_BakedConvexCollisionMesh:
m_BakedTriangleCollisionMesh:

offset: 0
size: 0
path:
--- !u!114 &11400000
MonoBehaviour:
m_ObjectHideFlags: 0
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: efd71620d53b04fe4b35207444f01def, type: 3}
m_Name: CloudMeshes
m_EditorClassIdentifier:
sprites:
- {fileID: 7036826218055600575, guid: 22c1bc0889bf21f43a862cb91e08c68a, type: 3}
- {fileID: 5267090216612187275, guid: 22c1bc0889bf21f43a862cb91e08c68a, type: 3}
- {fileID: -2028122982951741611, guid: 22c1bc0889bf21f43a862cb91e08c68a, type: 3}
- {fileID: -5693033590976618241, guid: 22c1bc0889bf21f43a862cb91e08c68a, type: 3}
- {fileID: -6011895722572053554, guid: 22c1bc0889bf21f43a862cb91e08c68a, type: 3}
- {fileID: -2009903931605109925, guid: 22c1bc0889bf21f43a862cb91e08c68a, type: 3}
- {fileID: 1525974591805142018, guid: 22c1bc0889bf21f43a862cb91e08c68a, type: 3}
- {fileID: 2718705153219231221, guid: 22c1bc0889bf21f43a862cb91e08c68a, type: 3}
hash: 22c1bc0889bf21f43a862cb91e08c68a22c1bc0889bf21f43a862cb91e08c68a22c1bc0889bf21f43a862cb91e08c68a22c1bc0889bf21f43a862cb91e08c68a22c1bc0889bf21f43a862cb91e08c68a22c1bc0889bf21f43a862cb91e08c68a22c1bc0889bf21f43a862cb91e08c68a22c1bc0889bf21f43a862cb91e08c68a
--- !u!43 &382919693584978386
--- !u!43 &-3180199397160632721
m_Name: Clouds_FBDA_0
m_Name: Clouds_FBDA_5
indexCount: 39
indexCount: 30
vertexCount: 15
vertexCount: 12
m_Center: {x: 0.119999886, y: -0.83000004, z: 0}
m_Extent: {x: 8.12, y: 3.5900002, z: 0}
m_Center: {x: -0.24000025, y: 0.29000008, z: 0}
m_Extent: {x: 8.440001, y: 4.13, z: 0}
m_Shapes:
vertices: []
shapes: []

m_KeepVertices: 1
m_KeepIndices: 1
m_IndexFormat: 0
m_IndexBuffer: 0e000d000b000c000b000d000a000b000c0009000b000a00080009000a00040009000800070004000800060004000700050004000600000004000500030004000000010003000000020001000000
m_IndexBuffer: 0b0009000a0008000a000900070008000900060008000700050006000700040006000500030004000500010004000300000001000300020001000000
m_VertexCount: 15
m_VertexCount: 12
m_Channels:
- stream: 0
offset: 0

format: 0
dimension: 0
- stream: 0
offset: 0
format: 0
dimension: 0
offset: 24
format: 2
dimension: 4
offset: 24
offset: 28
format: 0
dimension: 2
- stream: 0

offset: 0
format: 0
dimension: 0
m_DataSize: 480
_typelessdata: a470dd40d7a3703f0000000000000000000000000000803f0080d63e00e0653f0ad70341333313c00000000000000000000000000000803f0000e73e00a0513f0ad70341cdcccc3e0000000000000000000000000000803f0000e73e0080623f48e1da405c8f62c00000000000000000000000000000803f0080d53e00e0493f3d0a5740cdcc8cc00000000000000000000000000000803f0000aa3e0080443f295c0f40cdcccc3f0000000000000000000000000000803f00009c3e00006a3f1f85eb3ef6285c3f0000000000000000000000000000803f00c0853e0060653fe17ad4bfd7a330400000000000000000000000000000803f0080563e0040713f14ae47c0295c0f400000000000000000000000000000803f0000323e00006e3f48e17ac0a4708dc00000000000000000000000000000803f00001e3e0060443fd7a3a0c08fc2f5bd0000000000000000000000000000803f0080023e00405f3f3d0ad7c0a4708dc00000000000000000000000000000803f0000b03d0060443ff628dcc0f6285c3f0000000000000000000000000000803f0000a83d0060653f000000c1713d0abf0000000000000000000000000000803f0000603d00a05c3f000000c1f628dcbf0000000000000000000000000000803f0000603d0040553f
m_DataSize: 432
_typelessdata: 333303410ad723400000000000000000000000000000803f000000000040733f0000e03ec3f5004152b85ec00000000000000000000000000000803f000000000060723f0080943e33330341b81e25c00000000000000000000000000000803f000000000040733f00c09f3ed7a39040a4708d400000000000000000000000000000803f0000000000405c3f0040f73e7b148e408fc275c00000000000000000000000000000803f0000000000c05b3f0000903eae47e13fa4708d400000000000000000000000000000803f0000000000004b3f0040f73e9a9919bf333373c00000000000000000000000000000803f0000000000403c3f0080903e14ae27c0713d2a400000000000000000000000000000803f0000000000a02f3f0040e13e333373c0ae4761c00000000000000000000000000000803f000000000040283f0000943e7b14cec0713d8a3f0000000000000000000000000000803f0000000000c0173f0080cd3ec3f508c17b14eebf0000000000000000000000000000803f0000000000800a3f00c0a83e48e10ac152b81ebf0000000000000000000000000000803f0000000000c0093f0040b83e
m_CompressedMesh:
m_Vertices:
m_NumItems: 0

m_BitSize: 0
m_UVInfo: 0
m_LocalAABB:
m_Center: {x: 0.119999886, y: -0.83000004, z: 0}
m_Extent: {x: 8.12, y: 3.5900002, z: 0}
m_Center: {x: -0.24000025, y: 0.29000008, z: 0}
m_Extent: {x: 8.440001, y: 4.13, z: 0}
m_MeshUsageFlags: 0
m_BakedConvexCollisionMesh:
m_BakedTriangleCollisionMesh:

offset: 0
size: 0
path:
--- !u!43 &6318552779758539284
--- !u!43 &-2368903437457051594
Mesh:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}

format: 0
dimension: 0
- stream: 0
offset: 0
format: 0
dimension: 0
offset: 24
format: 2
dimension: 4
offset: 24
offset: 28
format: 0
dimension: 2
- stream: 0

offset: 0
format: 0
dimension: 0
m_DataSize: 384
_typelessdata: 1f85fb4048e11a400000000000000000000000000000803f0020713f00206f3f14aed7409a9959c00000000000000000000000000000803f00206a3f00c04a3f9a99f9401f85abbf0000000000000000000000000000803f00c0703f00a0573fec513840666666400000000000000000000000000000803f0000523f0080763fd7a31040ae4761c00000000000000000000000000000803f00204e3f00004a3ff628dc3f7b14ee3f0000000000000000000000000000803f00c04a3f00a06b3fa4701dc07b142e400000000000000000000000000000803f00a0303f0000713fe17a74c0ae4761c00000000000000000000000000000803f0020283f00004a3f5c8fb2c0295ccf3f0000000000000000000000000000803f00201d3f00206a3f3333c3c0e17a54c00000000000000000000000000000803f00e0193f00404b3f1f85ebc00ad7a3be0000000000000000000000000000803f0000123f00005e3f1f85ebc0295c2fc00000000000000000000000000000803f0000123f00e04e3f
m_DataSize: 432
_typelessdata: 1f85fb4048e11a400000000000000000000000000000803f000000000020713f00206f3f14aed7409a9959c00000000000000000000000000000803f0000000000206a3f00c04a3f9a99f9401f85abbf0000000000000000000000000000803f0000000000c0703f00a0573fec513840666666400000000000000000000000000000803f000000000000523f0080763fd7a31040ae4761c00000000000000000000000000000803f0000000000204e3f00004a3ff628dc3f7b14ee3f0000000000000000000000000000803f0000000000c04a3f00a06b3fa4701dc07b142e400000000000000000000000000000803f0000000000a0303f0000713fe17a74c0ae4761c00000000000000000000000000000803f000000000020283f00004a3f5c8fb2c0295ccf3f0000000000000000000000000000803f0000000000201d3f00206a3f3333c3c0e17a54c00000000000000000000000000000803f0000000000e0193f00404b3f1f85ebc00ad7a3be0000000000000000000000000000803f000000000000123f00005e3f1f85ebc0295c2fc00000000000000000000000000000803f000000000000123f00e04e3f
m_CompressedMesh:
m_Vertices:
m_NumItems: 0

offset: 0
size: 0
path:
--- !u!43 &8099458318676092648
--- !u!114 &11400000
MonoBehaviour:
m_ObjectHideFlags: 0
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: efd71620d53b04fe4b35207444f01def, type: 3}
m_Name: CloudMeshes
m_EditorClassIdentifier:
sprites:
- {fileID: 7036826218055600575, guid: 22c1bc0889bf21f43a862cb91e08c68a, type: 3}
- {fileID: 5267090216612187275, guid: 22c1bc0889bf21f43a862cb91e08c68a, type: 3}
- {fileID: -2028122982951741611, guid: 22c1bc0889bf21f43a862cb91e08c68a, type: 3}
- {fileID: -5693033590976618241, guid: 22c1bc0889bf21f43a862cb91e08c68a, type: 3}
- {fileID: -6011895722572053554, guid: 22c1bc0889bf21f43a862cb91e08c68a, type: 3}
- {fileID: -2009903931605109925, guid: 22c1bc0889bf21f43a862cb91e08c68a, type: 3}
- {fileID: 1525974591805142018, guid: 22c1bc0889bf21f43a862cb91e08c68a, type: 3}
- {fileID: 2718705153219231221, guid: 22c1bc0889bf21f43a862cb91e08c68a, type: 3}
hash: 22c1bc0889bf21f43a862cb91e08c68a22c1bc0889bf21f43a862cb91e08c68a22c1bc0889bf21f43a862cb91e08c68a22c1bc0889bf21f43a862cb91e08c68a22c1bc0889bf21f43a862cb91e08c68a22c1bc0889bf21f43a862cb91e08c68a22c1bc0889bf21f43a862cb91e08c68a22c1bc0889bf21f43a862cb91e08c68a
--- !u!43 &380270195937118816
m_Name: Clouds_FBDA_6
m_Name: Clouds_FBDA_7
indexCount: 27
indexCount: 33
vertexCount: 11
vertexCount: 13
m_Center: {x: 0.36000013, y: -0.100000024, z: 0}
m_Extent: {x: 7.58, y: 3.3400002, z: 0}
m_Center: {x: -0.049999952, y: -0.9899999, z: 0}
m_Extent: {x: 7.67, y: 3.19, z: 0}
m_Shapes:
vertices: []
shapes: []

m_KeepVertices: 1
m_KeepIndices: 1
m_IndexFormat: 0
m_IndexBuffer: 0a0009000700080007000900040007000800060007000400050006000400010005000400030001000400000001000300020001000000
m_IndexBuffer: 0c000b0009000a0009000b00080009000a00060009000800070006000800050006000700030006000500040003000500000003000400010003000000020001000000
m_VertexCount: 11
m_VertexCount: 13
m_Channels:
- stream: 0
offset: 0

format: 0
dimension: 0
- stream: 0
offset: 0
format: 0
dimension: 0
offset: 24
format: 2
dimension: 4
offset: 24
offset: 28
format: 0
dimension: 2
- stream: 0

offset: 0
format: 0
dimension: 0
m_DataSize: 352
_typelessdata: 7b14fe4048e1ba3f0000000000000000000000000000803f0040e33e0080243e713dea4052b83ec00000000000000000000000000000803f0080db3e0000563d7b14fe403333b3bf0000000000000000000000000000803f0040e33e0000ba3d7b149e40295c4f400000000000000000000000000000803f00c0bd3e0000513e6666a63f295c4f400000000000000000000000000000803f0040903e0000513e85eb913f48e15ac00000000000000000000000000000803f00408e3e00002a3dc3f5a8bff6285cc00000000000000000000000000000803f00005f3e0000283d713daac0f6285cc00000000000000000000000000000803f0000f63d0000283d14aed7c01f856b3f0000000000000000000000000000803f0000af3d0000173e8fc2e5c07b14aebe0000000000000000000000000000803f0000993d0000ef3d3d0ae7c03d0a17c00000000000000000000000000000803f0000973d00008a3d
m_DataSize: 468
_typelessdata: b81ed540295c8f3f0000000000000000000000000000803f0000000000a0693f00001c3e0ad7f3407b140ec00000000000000000000000000000803f0000000000a06f3f0000913d5c8ff240c3f528bf0000000000000000000000000000803f0000000000606f3f0000df3d000090408fc285c00000000000000000000000000000803f0000000000205c3f0400bc3ca4703d3fd7a3b03f0000000000000000000000000000803f0000000000a0443f0080223eae47e1be9a99993e0000000000000000000000000000803f0000000000403d3f0080073e8fc215c0e17a84c00000000000000000000000000000803f000000000060313f0000c43cec51b8bfcdcc0c400000000000000000000000000000803f000000000000373f0000373eb81e85c0cdcc0c400000000000000000000000000000803f000000000000263f0000373ea470ddc0c3f528c00000000000000000000000000000803f0000000000c0143f0000783dcdccecc0b81e853f0000000000000000000000000000803f0000000000c0113f00001a3e3d0af7c08fc2753e0000000000000000000000000000803f0000000000c00f3f0000063e3d0af7c0ae47a1bf0000000000000000000000000000803f0000000000c00f3f0000c13d
m_CompressedMesh:
m_Vertices:
m_NumItems: 0

m_BitSize: 0
m_UVInfo: 0
m_LocalAABB:
m_Center: {x: 0.36000013, y: -0.100000024, z: 0}
m_Extent: {x: 7.58, y: 3.3400002, z: 0}
m_Center: {x: -0.049999952, y: -0.9899999, z: 0}
m_Extent: {x: 7.67, y: 3.19, z: 0}
m_MeshUsageFlags: 0
m_BakedConvexCollisionMesh:
m_BakedTriangleCollisionMesh:

offset: 0
size: 0
path:
--- !u!43 &8141766512691762901
--- !u!43 &1652238456589648437
m_Name: Clouds_FBDA_5
m_Name: Clouds_FBDA_3
indexCount: 30
indexCount: 39
vertexCount: 12
vertexCount: 15
m_Center: {x: -0.24000025, y: 0.29000008, z: 0}
m_Extent: {x: 8.440001, y: 4.13, z: 0}
m_Center: {x: -0.6400001, y: 0.059999943, z: 0}
m_Extent: {x: 8, y: 3.78, z: 0}
m_Shapes:
vertices: []
shapes: []

m_KeepVertices: 1
m_KeepIndices: 1
m_IndexFormat: 0
m_IndexBuffer: 0b0009000a0008000a000900070008000900060008000700050006000700040006000500030004000500010004000300000001000300020001000000
m_IndexBuffer: 0e000b000d000c000d000b0006000c000b000a0006000b00020006000a00000006000200070006000000080007000000090007000800030006000700040006000300050004000300020001000000
m_VertexCount: 12
m_VertexCount: 15
m_Channels:
- stream: 0
offset: 0

format: 0
dimension: 0
- stream: 0
offset: 0
format: 0
dimension: 0
offset: 24
format: 2
dimension: 4
offset: 24
offset: 28
format: 0
dimension: 2
- stream: 0

offset: 0
format: 0
dimension: 0
m_DataSize: 384
_typelessdata: 333303410ad723400000000000000000000000000000803f0040733f0000e03ec3f5004152b85ec00000000000000000000000000000803f0060723f0080943e33330341b81e25c00000000000000000000000000000803f0040733f00c09f3ed7a39040a4708d400000000000000000000000000000803f00405c3f0040f73e7b148e408fc275c00000000000000000000000000000803f00c05b3f0000903eae47e13fa4708d400000000000000000000000000000803f00004b3f0040f73e9a9919bf333373c00000000000000000000000000000803f00403c3f0080903e14ae27c0713d2a400000000000000000000000000000803f00a02f3f0040e13e333373c0ae4761c00000000000000000000000000000803f0040283f0000943e7b14cec0713d8a3f0000000000000000000000000000803f00c0173f0080cd3ec3f508c17b14eebf0000000000000000000000000000803f00800a3f00c0a83e48e10ac152b81ebf0000000000000000000000000000803f00c0093f0040b83e
m_DataSize: 540
_typelessdata: ae47e13e8fc275400000000000000000000000000000803f0000000000c0423f0000383f3d0a57bf7b142e400000000000000000000000000000803f0000000000c03a3f0000313f000000bfe17a943f0000000000000000000000000000803f0000000000e03c3f0040273fe17ad440295c8fbe0000000000000000000000000000803f000000000080693f00401e3f1f85eb40cdcc4cc00000000000000000000000000000803f0000000000006e3f00000c3f1f85eb4014ae87bf0000000000000000000000000000803f0000000000006e3f0060193f0000d0407b146ec00000000000000000000000000000803f0000000000a0683f00c0083fae478140cdccccbd0000000000000000000000000000803f000000000040593f00601f3ff628dc3f8fc275400000000000000000000000000000803f0000000000c04a3f0000383f3333334085eb51400000000000000000000000000000803f000000000080513f0080343f3333f3bf8fc2b53f0000000000000000000000000000803f000000000020343f00e0283fec51c8c0cdccccbd0000000000000000000000000000803f0000000000e0183f00601f3f52b8dec052b85ec00000000000000000000000000000803f000000000080143f00400a3f9a9909c15c8f42c00000000000000000000000000000803f0000000000400a3f00000d3f713d0ac10ad703c00000000000000000000000000000803f0000000000000a3f0020133f
m_CompressedMesh:
m_Vertices:
m_NumItems: 0

m_BitSize: 0
m_UVInfo: 0
m_LocalAABB:
m_Center: {x: -0.24000025, y: 0.29000008, z: 0}
m_Extent: {x: 8.440001, y: 4.13, z: 0}
m_Center: {x: -0.6400001, y: 0.059999943, z: 0}
m_Extent: {x: 8, y: 3.78, z: 0}
m_MeshUsageFlags: 0
m_BakedConvexCollisionMesh:
m_BakedTriangleCollisionMesh:

offset: 0
size: 0
path:
--- !u!43 &8443598604222542702
--- !u!43 &7469709015542239365
m_Name: Clouds_FBDA_3
m_Name: Clouds_FBDA_2
indexCount: 39
indexCount: 33
vertexCount: 15
vertexCount: 13
m_Center: {x: -0.6400001, y: 0.059999943, z: 0}
m_Extent: {x: 8, y: 3.78, z: 0}
m_Center: {x: -0.07999992, y: -0.8299999, z: 0}
m_Extent: {x: 7.9, y: 3.75, z: 0}
m_Shapes:
vertices: []
shapes: []

m_KeepVertices: 1
m_KeepIndices: 1
m_IndexFormat: 0
m_IndexBuffer: 0e000b000d000c000d000b0006000c000b000a0006000b00020006000a00000006000200070006000000080007000000090007000800030006000700040006000300050004000300020001000000
m_IndexBuffer: 0c000b0008000a0008000b00090008000a00070008000900010008000700060001000700050001000600040001000500030001000400000001000300020001000000
m_VertexCount: 15
m_VertexCount: 13
m_Channels:
- stream: 0
offset: 0

format: 0
dimension: 0
- stream: 0
offset: 0
format: 0
dimension: 0
- stream: 0
format: 2
dimension: 4
- stream: 0
offset: 28
format: 0
dimension: 2
- stream: 0

offset: 0
format: 0
dimension: 0
m_DataSize: 480
_typelessdata: ae47e13e8fc275400000000000000000000000000000803f00c0423f0000383f3d0a57bf7b142e400000000000000000000000000000803f00c03a3f0000313f000000bfe17a943f0000000000000000000000000000803f00e03c3f0040273fe17ad440295c8fbe0000000000000000000000000000803f0080693f00401e3f1f85eb40cdcc4cc00000000000000000000000000000803f00006e3f00000c3f1f85eb4014ae87bf0000000000000000000000000000803f00006e3f0060193f0000d0407b146ec00000000000000000000000000000803f00a0683f00c0083fae478140cdccccbd0000000000000000000000000000803f0040593f00601f3ff628dc3f8fc275400000000000000000000000000000803f00c04a3f0000383f3333334085eb51400000000000000000000000000000803f0080513f0080343f3333f3bf8fc2b53f0000000000000000000000000000803f0020343f00e0283fec51c8c0cdccccbd0000000000000000000000000000803f00e0183f00601f3f52b8dec052b85ec00000000000000000000000000000803f0080143f00400a3f9a9909c15c8f42c00000000000000000000000000000803f00400a3f00000d3f713d0ac10ad703c00000000000000000000000000000803f00000a3f0020133f
m_DataSize: 468
_typelessdata: 14aef7400ad7a33c0000000000000000000000000000803f0000000000c0e03e0020203ff628cc405c8f92c00000000000000000000000000000803f0000000000c0cf3e0060033f713dfa40cdcc6cc00000000000000000000000000000803f0000000000c0e13e00e0083f1f859b400ad7e33f0000000000000000000000000000803f0000000000c0bc3e00202b3fc3f52840ae4701400000000000000000000000000000803f000000000000a13e00a02c3f7b14ee3fc3f5283f0000000000000000000000000000803f000000000040973e0020243fcdcccc3e3d0ad73f0000000000000000000000000000803f000000000000853e00802a3f1f85abbfcdcc8c3f0000000000000000000000000000803f0000000000805e3e00e0263f48e19ac0f6288cc00000000000000000000000000000803f000000000000073e00a0043f713d4ac048e13a400000000000000000000000000000803f000000000000313e0040323f52b89ec09a9919400000000000000000000000000000803f000000000000043e00002f3fae47e1c0cdcccc3d0000000000000000000000000000803f000000000000a03d00a0203f295cffc052b81ec00000000000000000000000000000803f000000000000623d0080103f
m_CompressedMesh:
m_Vertices:
m_NumItems: 0

m_BitSize: 0
m_UVInfo: 0
m_LocalAABB:
m_Center: {x: -0.6400001, y: 0.059999943, z: 0}
m_Extent: {x: 8, y: 3.78, z: 0}
m_Center: {x: -0.07999992, y: -0.8299999, z: 0}
m_Extent: {x: 7.9, y: 3.75, z: 0}
m_MeshUsageFlags: 0
m_BakedConvexCollisionMesh:
m_BakedTriangleCollisionMesh:

4
Assets/Objects/environment/Clouds/Shader Graphs_Clouds.mat


m_Offset: {x: 0, y: 0}
m_Floats:
- BOOLEAN_68600FB702FC441CA4969E5B54503936: 1
- Cloud_Fade: 0
- Cloud_Fade: 29
- Vector1_2D8DD598: 0.05
- Vector1_2D8DD598: 5
- Vector1_33982692: 1.29
m_Colors:
- _Color: {r: 0, g: 0, b: 0, a: 0}

1
Assets/Scripts/Environment/CloudRenderer.cs


public ParticleSystem ps;
private NativeArray<ParticleSystem.Particle> particles;
//private
private ParticleSystem.Particle[] parts;
private void OnEnable()

2
Assets/Scripts/Utility/SpriteMeshGenerator.cs


public static Mesh GenerateMeshFromSprite(Sprite sprite)
{
Vector2 pivot = sprite.pivot / sprite.rect.size;
// verts
var verts = new List<Vector3>();
sprite.vertices.ToList().ForEach(x => verts.Add(new Vector3(x.x, x.y, 0.0f)));

正在加载...
取消
保存