This commit is contained in:
SoulliesOfficial
2025-11-22 21:36:59 -05:00
parent 0804b43255
commit f09278037e
347 changed files with 158033 additions and 225589 deletions

View File

@@ -141,15 +141,6 @@ ShaderVariantCollection:
passType: 13
- keywords: _USEREDASALPHA_ON
passType: 13
- first: {fileID: 4800000, guid: 4af258f019782954c9c32cd616f51c3b, type: 3}
second:
variants:
- keywords:
passType: 13
- keywords: _DISSOLVE_TEX
passType: 13
- keywords: _SOFT_PARTICAL
passType: 13
- first: {fileID: 4800000, guid: 272e7eef87baea8408e583d2670e66dd, type: 3}
second:
variants:

View File

@@ -0,0 +1,712 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!200 &20000000
ShaderVariantCollection:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name: NewShaderVariants
m_Shaders:
- first: {fileID: 0}
second:
variants:
- keywords:
passType: 8
- first: {fileID: 0}
second:
variants:
- keywords:
passType: 8
- first: {fileID: 0}
second:
variants:
- keywords:
passType: 8
- first: {fileID: 0}
second:
variants:
- keywords: BACKFACE_NORMAL_MODE_FLIP _WINDQUALITY_NONE
passType: 8
- first: {fileID: 0}
second:
variants:
- keywords:
passType: 8
- first: {fileID: 0}
second:
variants:
- keywords:
passType: 8
- first: {fileID: 0}
second:
variants:
- keywords:
passType: 8
- first: {fileID: 0}
second:
variants:
- keywords:
passType: 8
- first: {fileID: 0}
second:
variants:
- keywords:
passType: 8
- first: {fileID: 0}
second:
variants:
- keywords:
passType: 8
- first: {fileID: 0}
second:
variants:
- keywords:
passType: 8
- first: {fileID: 0}
second:
variants:
- keywords:
passType: 8
- first: {fileID: 0}
second:
variants:
- keywords: BACKFACE_NORMAL_MODE_FLIP _WINDQUALITY_NONE
passType: 8
- first: {fileID: 0}
second:
variants:
- keywords:
passType: 8
- first: {fileID: 0}
second:
variants:
- keywords:
passType: 8
- first: {fileID: 0}
second:
variants:
- keywords:
passType: 8
- first: {fileID: 0}
second:
variants:
- keywords:
passType: 8
- first: {fileID: 0}
second:
variants:
- keywords:
passType: 8
- first: {fileID: 10770, guid: 0000000000000000f000000000000000, type: 0}
second:
variants:
- keywords:
passType: 0
- first: {fileID: 66, guid: 0000000000000000f000000000000000, type: 0}
second:
variants:
- keywords:
passType: 0
- first: {fileID: 106, guid: 0000000000000000f000000000000000, type: 0}
second:
variants:
- keywords: _SUNDISK_SIMPLE
passType: 0
- first: {fileID: 9000, guid: 0000000000000000f000000000000000, type: 0}
second:
variants:
- keywords:
passType: 0
- first: {fileID: 9001, guid: 0000000000000000f000000000000000, type: 0}
second:
variants:
- keywords:
passType: 0
- first: {fileID: 9002, guid: 0000000000000000f000000000000000, type: 0}
second:
variants:
- keywords:
passType: 0
- first: {fileID: 9003, guid: 0000000000000000f000000000000000, type: 0}
second:
variants:
- keywords:
passType: 0
- first: {fileID: 9004, guid: 0000000000000000f000000000000000, type: 0}
second:
variants:
- keywords:
passType: 0
- first: {fileID: 9007, guid: 0000000000000000f000000000000000, type: 0}
second:
variants:
- keywords:
passType: 0
- first: {fileID: 9101, guid: 0000000000000000f000000000000000, type: 0}
second:
variants:
- keywords:
passType: 0
- first: {fileID: 9103, guid: 0000000000000000f000000000000000, type: 0}
second:
variants:
- keywords:
passType: 0
- first: {fileID: 4800000, guid: c17132b1f77d20942aa75f8429c0f8bc, type: 3}
second:
variants:
- keywords:
passType: 0
- first: {fileID: 4800000, guid: d6dae50ee9e1bfa4db75f19f99355220, type: 3}
second:
variants:
- keywords:
passType: 0
- keywords: _OUTPUT_DEPTH
passType: 0
- first: {fileID: 4800000, guid: 0f854b35a0cf61a429bd5dcfea30eddd, type: 3}
second:
variants:
- keywords: _MAIN_LIGHT_SHADOWS
passType: 0
- first: {fileID: 4800000, guid: 04c410c9937594faa893a11dceb85f7e, type: 3}
second:
variants:
- keywords:
passType: 0
- first: {fileID: 4800000, guid: 65df88701913c224d95fc554db28381a, type: 3}
second:
variants:
- keywords:
passType: 0
- first: {fileID: 4800000, guid: ec9fec698a3456d4fb18cf8bacb7a2bc, type: 3}
second:
variants:
- keywords:
passType: 0
- first: {fileID: 4800000, guid: e7857e9d0c934dc4f83f270f8447b006, type: 3}
second:
variants:
- keywords:
passType: 0
- keywords: _BLOOM_LQ
passType: 0
- first: {fileID: 4800000, guid: cf852408f2e174538bcd9b7fda1c5ae7, type: 3}
second:
variants:
- keywords:
passType: 13
- first: {fileID: 4800000, guid: e9155b26e1bc55942a41e518703fe304, type: 3}
second:
variants:
- keywords:
passType: 0
- keywords: FOG_LINEAR
passType: 0
- keywords: _POINT
passType: 0
- first: {fileID: 4800000, guid: e6e9a19c3678ded42a3bc431ebef7dbd, type: 3}
second:
variants:
- keywords:
passType: 0
- first: {fileID: 4800000, guid: 7f888aff2ac86494babad1c2c5daeee2, type: 3}
second:
variants:
- keywords:
passType: 0
- first: {fileID: 4800000, guid: 5fd9a8feb75a4b5894c241777f519d4e, type: 3}
second:
variants:
- keywords:
passType: 0
- first: {fileID: 4800000, guid: 93446b5c5339d4f00b85c159e1159b7c, type: 3}
second:
variants:
- keywords:
passType: 0
- first: {fileID: 4800000, guid: d104b2fc1ca6445babb8e90b0758136b, type: 3}
second:
variants:
- keywords:
passType: 0
- first: {fileID: 4800000, guid: c56b7e0d4c7cb484e959caeeedae9bbf, type: 3}
second:
variants:
- keywords:
passType: 0
- first: {fileID: 4800000, guid: 7b3ede40266cd49a395def176e1bc486, type: 3}
second:
variants:
- keywords:
passType: 12
- first: {fileID: 4800000, guid: 0849e84e3d62649e8882e9d6f056a017, type: 3}
second:
variants:
- keywords:
passType: 0
- keywords: _INTERLEAVED_GRADIENT _SAMPLE_COUNT_LOW _SOURCE_DEPTH_LOW
passType: 0
- first: {fileID: 4800000, guid: 1121bb4e615ca3c48b214e79e841e823, type: 3}
second:
variants:
- keywords:
passType: 0
- first: {fileID: 4800000, guid: 63eaba0ebfb82cc43bde059b4a8c65f6, type: 3}
second:
variants:
- keywords: _SMAA_PRESET_LOW
passType: 0
- first: {fileID: 4800000, guid: 5e7134d6e63e0bc47a1dd2669cedb379, type: 3}
second:
variants:
- keywords:
passType: 0
- first: {fileID: 4800000, guid: 2aed67ad60045d54ba3a00c91e2d2631, type: 3}
second:
variants:
- keywords:
passType: 0
- first: {fileID: 4800000, guid: 1edcd131364091c46a17cbff0b1de97a, type: 3}
second:
variants:
- keywords:
passType: 0
- first: {fileID: 4800000, guid: a15b78cf8ca26ca4fb2090293153c62c, type: 3}
second:
variants:
- keywords: _GENERIC
passType: 0
- first: {fileID: 4800000, guid: 5f1864addb451f54bae8c86d230f736e, type: 3}
second:
variants:
- keywords:
passType: 0
- first: {fileID: 4800000, guid: 131f1b93a4ebd459ba87b6bad055fb33, type: 3}
second:
variants:
- keywords:
passType: 0
- first: {fileID: 4800000, guid: 6cda457ac28612740adb23da5d39ea92, type: 3}
second:
variants:
- keywords:
passType: 0
- first: {fileID: 4800000, guid: e8ee25143a34b8c4388709ea947055d1, type: 3}
second:
variants:
- keywords:
passType: 0
- keywords: _FXAA
passType: 0
- first: {fileID: 4800000, guid: 562b7ae4f629f144aa97780546fce7c6, type: 3}
second:
variants:
- keywords:
passType: 0
- first: {fileID: 4800000, guid: c49e63ed1bbcb334780a3bd19dfed403, type: 3}
second:
variants:
- keywords:
passType: 0
- first: {fileID: 4800000, guid: f6783ab646d374f94b199774402a5144, type: 3}
second:
variants:
- keywords:
passType: 0
- keywords:
passType: 11
- keywords:
passType: 13
- first: {fileID: 4800000, guid: e507fdfead5ca47e8b9a768b51c291a1, type: 3}
second:
variants:
- keywords:
passType: 0
- keywords:
passType: 13
- first: {fileID: 4800000, guid: 29868e73b638e48ca99a19ea58c48d90, type: 3}
second:
variants:
- keywords:
passType: 0
- keywords:
passType: 13
- first: {fileID: 4800000, guid: 0f4122b9a743b744abe2fb6a0a88868b, type: 3}
second:
variants:
- keywords: GEOM_TYPE_BRANCH
passType: 8
- keywords: GEOM_TYPE_BRANCH LOD_FADE_PERCENTAGE
passType: 8
- keywords: GEOM_TYPE_BRANCH
passType: 13
- keywords: GEOM_TYPE_BRANCH LOD_FADE_PERCENTAGE
passType: 13
- first: {fileID: 4800000, guid: 933532a4fcc9baf4fa0491de14d08ed7, type: 3}
second:
variants:
- keywords:
passType: 8
- keywords:
passType: 11
- keywords:
passType: 13
- first: {fileID: 4800000, guid: 0406db5a14f94604a8c57ccfbc9f3b46, type: 3}
second:
variants:
- keywords:
passType: 0
- keywords: _SURFACE_TYPE_TRANSPARENT
passType: 0
- keywords:
passType: 13
- first: {fileID: 4800000, guid: e39bd598ce13f44ba8af997d3e42cd18, type: 3}
second:
variants:
- keywords:
passType: 13
- first: {fileID: 4800000, guid: 60e10855641b4d84da68ec72e6f6eeb8, type: 3}
second:
variants:
- keywords:
passType: 0
- first: {fileID: 4800000, guid: e8b802ac01d87144b91f12f40c1f2659, type: 3}
second:
variants:
- keywords:
passType: 0
- first: {fileID: 4800000, guid: e260cfa7296ee7642b167f1eb5be5023, type: 3}
second:
variants:
- keywords:
passType: 13
- first: {fileID: 4800000, guid: 8d2bb70cbf9db8d4da26e15b26e74248, type: 3}
second:
variants:
- keywords:
passType: 8
- keywords:
passType: 11
- keywords:
passType: 13
- first: {fileID: 4800000, guid: 13c02b14c4d048fa9653293d54f6e0e1, type: 3}
second:
variants:
- keywords:
passType: 13
- first: {fileID: 4800000, guid: 4431b1f1f743fbf4eb310a967890cbea, type: 3}
second:
variants:
- keywords:
passType: 0
- first: {fileID: 4800000, guid: d5a307c014552314b9f560906d708772, type: 3}
second:
variants:
- keywords:
passType: 0
- first: {fileID: 4800000, guid: a89bee29cffa951418fc1e2da94d1959, type: 3}
second:
variants:
- keywords:
passType: 0
- first: {fileID: 4800000, guid: 573620ae32aec764abd4d728906d2587, type: 3}
second:
variants:
- keywords:
passType: 0
- first: {fileID: 4800000, guid: f056d8bd2a1c7e44e9729144b4c70395, type: 3}
second:
variants:
- keywords:
passType: 0
- keywords: _DBUFFER_MRT1
passType: 0
- first: {fileID: 4800000, guid: 8516d7a69675844a7a0b7095af7c46af, type: 3}
second:
variants:
- keywords:
passType: 13
- first: {fileID: 4800000, guid: 8fbe92a9edfe6074e841d6dd1509bc59, type: 3}
second:
variants:
- keywords:
passType: 0
- first: {fileID: 4800000, guid: b7839dad95683814aa64166edc107ae2, type: 3}
second:
variants:
- keywords:
passType: 13
- first: {fileID: 4800000, guid: 44fc62292b65ab04eabcf310e799ccf6, type: 3}
second:
variants:
- keywords:
passType: 0
- first: {fileID: 4800000, guid: 99134b1f0c27d54469a840832a28fadf, type: 3}
second:
variants:
- keywords: LOD_FADE_PERCENTAGE _WINDQUALITY_NONE
passType: 8
- keywords: _WINDQUALITY_NONE
passType: 8
- keywords: LOD_FADE_PERCENTAGE _WINDQUALITY_NONE
passType: 13
- keywords: _WINDQUALITY_NONE
passType: 13
- first: {fileID: 4800000, guid: c8b6a681c7b4e2e4785ffab093907f9e, type: 3}
second:
variants:
- keywords:
passType: 0
- first: {fileID: 4800000, guid: 0a7e590f3cf1d4ee8a8fab5b6eff09ef, type: 3}
second:
variants:
- keywords:
passType: 13
- first: {fileID: 4800000, guid: 74b1585886a85614aa34e2c8e303c77a, type: 3}
second:
variants:
- keywords: DOTS_INSTANCING_ON
passType: 13
- first: {fileID: 4800000, guid: de02b375720b5c445afe83cd483bedf3, type: 3}
second:
variants:
- keywords:
passType: 0
- first: {fileID: 4800000, guid: 0ca6dca7396eb48e5849247ffd444914, type: 3}
second:
variants:
- keywords:
passType: 11
- keywords:
passType: 13
- first: {fileID: 4800000, guid: 7e60080c8cd24a2468cb08b4bfee5606, type: 3}
second:
variants:
- keywords:
passType: 0
- first: {fileID: 4800000, guid: 36e335017ad71d54fbb10842863188ae, type: 3}
second:
variants:
- keywords:
passType: 0
- first: {fileID: 4800000, guid: e35a31e1679aeff489e202f5cc4853d5, type: 3}
second:
variants:
- keywords:
passType: 0
- first: {fileID: 4800000, guid: ce09d4a80b88c5a4eb9768fab4f1ee00, type: 3}
second:
variants:
- keywords:
passType: 0
- first: {fileID: 4800000, guid: 5ec81c81908db34429b4f6ddecadd3bd, type: 3}
second:
variants:
- keywords:
passType: 8
- keywords:
passType: 13
- first: {fileID: 4800000, guid: d79e1c784eaf80c4585c0be7391f757a, type: 3}
second:
variants:
- keywords:
passType: 0
- first: {fileID: 4800000, guid: ee7e4c9a5f6364b688a332c67fc32cca, type: 3}
second:
variants:
- keywords:
passType: 8
- keywords:
passType: 11
- keywords:
passType: 13
- first: {fileID: 4800000, guid: c7d04ca57e5449d49ad9cee1c604bc26, type: 3}
second:
variants:
- keywords:
passType: 0
- first: {fileID: 4800000, guid: 650dd9526735d5b46b79224bc6e94025, type: 3}
second:
variants:
- keywords:
passType: 0
- keywords:
passType: 11
- keywords:
passType: 13
- first: {fileID: 4800000, guid: 19dfbb09098c9584a83c956fbd6c5d79, type: 3}
second:
variants:
- keywords:
passType: 13
- first: {fileID: 4800000, guid: 77774d9009bb81447b048c907d4c6273, type: 3}
second:
variants:
- keywords:
passType: 0
- first: {fileID: 4800000, guid: 2ad0a53eacb91bd4fbe0dc668bf25e6f, type: 3}
second:
variants:
- keywords:
passType: 0
- first: {fileID: 4800000, guid: 99e0f263ae4ed2d4d962a2e995dff6df, type: 3}
second:
variants:
- keywords:
passType: 0
- first: {fileID: 4800000, guid: 44e8d6dab1446644688189717537509a, type: 3}
second:
variants:
- keywords:
passType: 13
- first: {fileID: 4800000, guid: 4af258f019782954c9c32cd616f51c3b, type: 3}
second:
variants:
- keywords:
passType: 13
- keywords: _DISSOLVE_PLUS_TEX _DISSOLVE_TEX
passType: 13
- keywords: _DISSOLVE_TEX
passType: 13
- keywords: _DISSOLVE_TEX _VTO_TEX
passType: 13
- keywords: _MASK_TEX
passType: 13
- keywords: _SOFT_PARTICAL
passType: 13
- first: {fileID: 4800000, guid: efc9cf6e300dc8b4bbd9d46924a071da, type: 3}
second:
variants:
- keywords:
passType: 13
- first: {fileID: 4800000, guid: 3f7a07814aa8ca44e820255a68f2ca9f, type: 3}
second:
variants:
- keywords:
passType: 0
- first: {fileID: 4800000, guid: 1260697e5ac3cff4889321b8d74b99b8, type: 3}
second:
variants:
- keywords:
passType: 13
- first: {fileID: 4800000, guid: c2a467ab6d5391a4ea692226d82ffefd, type: 3}
second:
variants:
- keywords:
passType: 13
- keywords: _DECAL_NORMAL_BLEND_LOW
passType: 13
- first: {fileID: 4800000, guid: 2992e84f91cbeb14eab234972e07ea9d, type: 3}
second:
variants:
- keywords:
passType: 0
- keywords:
passType: 8
- keywords:
passType: 11
- keywords:
passType: 13
- first: {fileID: 4800000, guid: 199187dac283dbe4a8cb1ea611d70c58, type: 3}
second:
variants:
- keywords:
passType: 13
- first: {fileID: 4800000, guid: ece0159bad6633944bf6b818f4dd296c, type: 3}
second:
variants:
- keywords:
passType: 13
- first: {fileID: 4800000, guid: 94348b07e5e8bab40bd6c8a1e3df54cd, type: 3}
second:
variants:
- keywords:
passType: 0
- keywords:
passType: 8
- keywords:
passType: 11
- keywords:
passType: 13
- first: {fileID: 4800000, guid: cf964e524c8e69742b1d21fbe2ebcc4a, type: 3}
second:
variants:
- keywords:
passType: 13
- first: {fileID: 4800000, guid: d54759aa63d2527499f0c933fdf37b78, type: 3}
second:
variants:
- keywords:
passType: 13
- first: {fileID: 4800000, guid: 272e7eef87baea8408e583d2670e66dd, type: 3}
second:
variants:
- keywords:
passType: 0
- first: {fileID: 4800000, guid: 3150dab783854cd6b791d5db3be4a966, type: 3}
second:
variants:
- keywords:
passType: 0
- first: {fileID: 4800000, guid: 126dad763ce350945945655d5c062248, type: 3}
second:
variants:
- keywords:
passType: 0
- first: {fileID: 4800000, guid: 7184a95c20fc1a441a8815af4c795ccd, type: 3}
second:
variants:
- keywords: EVALUATE_SH_VERTEX _DISSOLVE _FX_LIGHT_MODE_UNLIT
passType: 13
- keywords: EVALUATE_SH_VERTEX _FX_LIGHT_MODE_UNLIT
passType: 13
- keywords: EVALUATE_SH_VERTEX _FX_LIGHT_MODE_UNLIT _MASKMAP_ON
passType: 13
- keywords: _FX_LIGHT_MODE_UNLIT
passType: 13
- keywords: _FX_LIGHT_MODE_UNLIT
passType: 14
- first: {fileID: 4800000, guid: 1b530af6d4d97eb4c8f3725d4cd3e9b8, type: 3}
second:
variants:
- keywords:
passType: 0
- first: {fileID: 4800000, guid: 3e92fe624a4f13d4eadc7753e236006a, type: 3}
second:
variants:
- keywords:
passType: 0
- first: {fileID: 4800000, guid: 5fd213d22763447c4aa106605e06184e, type: 3}
second:
variants:
- keywords:
passType: 0
- first: {fileID: 4800000, guid: ae29d8ac364c31c45951cc7ee49fb4e7, type: 3}
second:
variants:
- keywords:
passType: 8
- keywords:
passType: 13
- first: {fileID: 4800000, guid: 08ea275a0b315754aacf7b548f848ea6, type: 3}
second:
variants:
- keywords:
passType: 13
- first: {fileID: -6465566751694194690, guid: 754adf81fabebcc43b4839f86c8172bf,
type: 3}
second:
variants:
- keywords:
passType: 0
- keywords:
passType: 8
- first: {fileID: 4800000, guid: 59aa06bbc8922cf4896e4e55298edda1, type: 3}
second:
variants:
- keywords: _KEYWORD0_R
passType: 8
- keywords: _KEYWORD0_R
passType: 13

View File

@@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 681fd12a0783acd4987c6ac68ad334ba
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 20000000
userData:
assetBundleName:
assetBundleVariant:

View File

@@ -0,0 +1,147 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!21 &2100000
Material:
serializedVersion: 8
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name: UI_TiledTriangleWave
m_Shader: {fileID: 4800000, guid: 37d1af30f71fd2d45a414f50b28412a3, type: 3}
m_Parent: {fileID: 0}
m_ModifiedSerializedProperties: 0
m_ValidKeywords: []
m_InvalidKeywords: []
m_LightmapFlags: 4
m_EnableInstancingVariants: 0
m_DoubleSidedGI: 0
m_CustomRenderQueue: -1
stringTagMap: {}
disabledShaderPasses: []
m_LockedProperties:
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}
- _DetailAlbedoMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _DetailMask:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _DetailNormalMap:
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}
- _ParallaxMap:
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}
- unity_Lightmaps:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- unity_LightmapsInd:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- unity_ShadowMasks:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
m_Ints: []
m_Floats:
- _AlphaClip: 0
- _AlphaToMask: 0
- _Blend: 0
- _BlendModePreserveSpecular: 1
- _BumpScale: 1
- _ClearCoatMask: 0
- _ClearCoatSmoothness: 0
- _ColorMask: 15
- _Cull: 2
- _Cutoff: 0.5
- _DetailAlbedoMapScale: 1
- _DetailNormalMapScale: 1
- _DstBlend: 0
- _DstBlendAlpha: 0
- _EnvironmentReflections: 1
- _GlossMapScale: 0
- _Glossiness: 0
- _GlossyReflections: 0
- _MaxAlpha: 1
- _Metallic: 0
- _MinAlpha: 0
- _OcclusionStrength: 1
- _Parallax: 0.005
- _PhaseShiftX: 0.2
- _PhaseShiftY: 0.2
- _QueueOffset: 0
- _RandomScale: 10
- _ReceiveShadows: 1
- _Smoothness: 0.5
- _SmoothnessTextureChannel: 0
- _SpecularHighlights: 1
- _Speed: 4
- _SrcBlend: 1
- _SrcBlendAlpha: 1
- _Stencil: 0
- _StencilComp: 8
- _StencilOp: 0
- _StencilReadMask: 255
- _StencilWriteMask: 255
- _Surface: 0
- _TilingX: 30
- _TilingY: 5
- _UseClipRect: 0
- _WorkflowMode: 1
- _ZWrite: 1
m_Colors:
- _BaseColor: {r: 1, g: 1, 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}
m_BuildTextureStacks: []
--- !u!114 &2350802192824202004
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: 7

View File

@@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 3a639d10397a28446b936a4051cfe465
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 2100000
userData:
assetBundleName:
assetBundleVariant:

View File

@@ -0,0 +1,151 @@
Shader "Custom/UI_TiledTriangleWave"
{
Properties
{
[PerRendererData] _MainTex ("Sprite Texture (Your Triangle)", 2D) = "white" {}
// Tiling properties
_TilingX ("Tiling X", Float) = 30
_TilingY ("Tiling Y", Float) = 10
// Animation properties
_Speed ("Animation Speed", Float) = 2.0
_MinAlpha ("Min Alpha", Range(0, 1)) = 0.1
_MaxAlpha ("Max Alpha", Range(0, 1)) = 1.0
// Randomness control
_RandomScale ("Random Phase Scale", Float) = 10.0 // 用来放大随机种子的影响
// --- UI Shader properties ---
_StencilComp ("Stencil Comparison", Float) = 8
_Stencil ("Stencil ID", Float) = 0
_StencilOp ("Stencil Operation", Float) = 0
_StencilWriteMask ("Stencil Write Mask", Float) = 255
_StencilReadMask ("Stencil Read Mask", Float) = 255
_ColorMask ("Color Mask", Float) = 15
[Toggle(UNITY_UI_CLIP_RECT)] _UseClipRect ("Use Clip Rect", Float) = 0
}
SubShader
{
// ... (Stencil, Cull, Blend等设置保持不变, 这里省略) ...
Tags
{
"Queue"="Transparent"
"RenderType"="Transparent"
"PreviewType"="Plane"
"CanUseSpriteAtlas"="True"
}
Stencil
{
Ref [_Stencil]
Comp [_StencilComp]
Pass [_StencilOp]
ReadMask [_StencilReadMask]
WriteMask [_StencilWriteMask]
}
Cull Off
Lighting Off
ZWrite Off
ZTest [unity_GUIZTestMode]
Blend SrcAlpha OneMinusSrcAlpha
ColorMask [_ColorMask]
Pass
{
CGPROGRAM
#pragma vertex vert
#pragma fragment frag
#pragma target 2.0
#include "UnityCG.cginc"
#include "UnityUI.cginc"
#pragma multi_compile __ UNITY_UI_CLIP_RECT
struct appdata_t
{
float4 vertex : POSITION;
float4 color : COLOR;
float2 texcoord : TEXCOORD0;
UNITY_VERTEX_INPUT_INSTANCE_ID
};
struct v2f
{
float4 vertex : SV_POSITION;
fixed4 color : COLOR;
float2 uv : TEXCOORD0;
float4 worldPosition : TEXCOORD1;
UNITY_VERTEX_OUTPUT_STEREO
};
sampler2D _MainTex;
float4 _MainTex_ST;
float _TilingX;
float _TilingY;
float _Speed;
float _MinAlpha;
float _MaxAlpha;
float _RandomScale; // 新增
float4 _ClipRect;
v2f vert(appdata_t v)
{
v2f o;
UNITY_SETUP_INSTANCE_ID(v);
UNITY_INITIALIZE_VERTEX_OUTPUT_STEREO(o);
o.worldPosition = v.vertex;
o.vertex = UnityObjectToClipPos(o.worldPosition);
o.uv = TRANSFORM_TEX(v.texcoord, _MainTex);
o.color = v.color;
return o;
}
// 简单的伪随机哈希函数
// 输入一个2D ID, 输出一个 0 到 1 之间的伪随机值
float randomHash(float2 uv)
{
// 一个常用且简单的哈希函数
return frac(sin(dot(uv, float2(12.9898, 78.233))) * 43758.5453);
}
fixed4 frag(v2f i) : SV_Target
{
float2 tiledUV = i.uv * float2(_TilingX, _TilingY);
float2 tileID = floor(tiledUV);
float2 localUV = frac(tiledUV);
fixed4 col = tex2D(_MainTex, localUV);
// --- 这是修改的核心 ---
// 1. 使用 tileID 生成一个 0-1 之间的随机哈希值
float randomValue = randomHash(tileID);
// 2. 将随机值乘以 _RandomScale 作为相位偏移
// 这样每个块的起始时间点就是离散且随机的
float phaseOffset = randomValue * _RandomScale;
// -----------------------
float sineWave = sin(_Time.y * _Speed + phaseOffset);
float normalizedAlpha = (sineWave * 0.5) + 0.5;
float targetAlpha = lerp(_MinAlpha, _MaxAlpha, normalizedAlpha);
col.a *= targetAlpha * i.color.a;
col.rgb *= i.color.rgb;
#ifdef UNITY_UI_CLIP_RECT
col.a *= UnityGet2DClipping(i.worldPosition.xy, _ClipRect);
#endif
return col;
}
ENDCG
}
}
}

View File

@@ -0,0 +1,9 @@
fileFormatVersion: 2
guid: 37d1af30f71fd2d45a414f50b28412a3
ShaderImporter:
externalObjects: {}
defaultTextures: []
nonModifiableTextures: []
userData:
assetBundleName:
assetBundleVariant: