Unity 工具 之 SoftMask软遮罩

上传者: u014361280 | 上传时间: 2023-11-28 11:06:25 | 文件大小: 731KB | 文件类型: ZIP
SoftMask 软遮罩来实现对 UI 进行遮罩,有别于 Unity 自带的 Mask 遮罩,softmask 可以根据遮罩图的特点实现指定的遮罩,例如通过图片的灰度实现边缘渐变形式的过渡遮罩效果等 ,能实现更多需要的遮罩效果。

文件下载

资源详情

[{"title":"( 81 个子文件 731KB ) Unity 工具 之 SoftMask软遮罩 ","children":[{"title":"SoftMask","children":[{"title":"Scripts.meta <span style='color:#111;'> 180B </span>","children":null,"spread":false},{"title":"Sprites.meta <span style='color:#111;'> 202B </span>","children":null,"spread":false},{"title":"Shaders","children":[{"title":"SoftMaskETC1.shader <span style='color:#111;'> 2.13KB </span>","children":null,"spread":false},{"title":"SoftMaskTemplate.cginc <span style='color:#111;'> 3.42KB </span>","children":null,"spread":false},{"title":"SoftMask.cginc <span style='color:#111;'> 5.87KB </span>","children":null,"spread":false},{"title":"Resources.meta <span style='color:#111;'> 180B </span>","children":null,"spread":false},{"title":"SoftMaskTemplate.cginc.meta <span style='color:#111;'> 206B </span>","children":null,"spread":false},{"title":"SoftMask.shader <span style='color:#111;'> 2.21KB </span>","children":null,"spread":false},{"title":"SoftMask.cginc.meta <span style='color:#111;'> 206B </span>","children":null,"spread":false},{"title":"SoftMaskETC1.shader.meta <span style='color:#111;'> 203B </span>","children":null,"spread":false},{"title":"Generated","children":[{"title":"Resources.meta <span style='color:#111;'> 180B </span>","children":null,"spread":false},{"title":"Resources","children":[{"title":"TMP_Sprite - SoftMask.shader <span style='color:#111;'> 2.92KB </span>","children":null,"spread":false},{"title":"TMP_Sprite - SoftMask.shader.meta <span style='color:#111;'> 213B </span>","children":null,"spread":false},{"title":"TMP_SDF-Mobile Masking - SoftMask.shader.meta <span style='color:#111;'> 213B </span>","children":null,"spread":false},{"title":"TMP_SDF - SoftMask.shader.meta <span style='color:#111;'> 213B </span>","children":null,"spread":false},{"title":"TMP_Bitmap-Mobile - SoftMask.shader <span style='color:#111;'> 4.11KB </span>","children":null,"spread":false},{"title":"TMP_SDF - SoftMask.shader <span style='color:#111;'> 11.25KB </span>","children":null,"spread":false},{"title":"TMP_SDF-Mobile Masking - SoftMask.shader <span style='color:#111;'> 8.50KB </span>","children":null,"spread":false},{"title":"TMP_SDF-Mobile - SoftMask.shader.meta <span style='color:#111;'> 213B </span>","children":null,"spread":false},{"title":"TMP_Bitmap - SoftMask.shader.meta <span style='color:#111;'> 213B </span>","children":null,"spread":false},{"title":"TMP_SDF-Mobile - SoftMask.shader <span style='color:#111;'> 8.27KB </span>","children":null,"spread":false},{"title":"TMP_Bitmap-Mobile - SoftMask.shader.meta <span style='color:#111;'> 213B </span>","children":null,"spread":false},{"title":"TMP_Bitmap - SoftMask.shader <span style='color:#111;'> 4.05KB </span>","children":null,"spread":false}],"spread":false},{"title":"dummy <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"dummy.meta <span style='color:#111;'> 162B </span>","children":null,"spread":false}],"spread":true},{"title":"Resources","children":[{"title":"SoftMaskETC1.shader <span style='color:#111;'> 2.07KB </span>","children":null,"spread":false},{"title":"SoftMaskTemplate.cginc <span style='color:#111;'> 3.38KB </span>","children":null,"spread":false},{"title":"SoftMask.cginc <span style='color:#111;'> 5.87KB </span>","children":null,"spread":false},{"title":"SoftMaskTemplate.cginc.meta <span style='color:#111;'> 184B </span>","children":null,"spread":false},{"title":"SoftMask.shader <span style='color:#111;'> 2.21KB </span>","children":null,"spread":false},{"title":"SoftMask.cginc.meta <span style='color:#111;'> 184B </span>","children":null,"spread":false},{"title":"SoftMaskETC1.shader.meta <span style='color:#111;'> 184B </span>","children":null,"spread":false},{"title":"SoftMaskETC1PremultipliedAlpha.shader.meta <span style='color:#111;'> 203B </span>","children":null,"spread":false},{"title":"SoftMaskETC1PremultipliedAlpha.shader <span style='color:#111;'> 2.14KB </span>","children":null,"spread":false},{"title":"SoftMaskPremultipliedAlpha.shader.meta <span style='color:#111;'> 203B </span>","children":null,"spread":false},{"title":"SoftMaskPremultipliedAlpha.shader <span style='color:#111;'> 2.28KB </span>","children":null,"spread":false},{"title":"SoftMask.shader.meta <span style='color:#111;'> 184B </span>","children":null,"spread":false}],"spread":false},{"title":"SoftMask.shader.meta <span style='color:#111;'> 203B </span>","children":null,"spread":false},{"title":"Generated.meta <span style='color:#111;'> 180B </span>","children":null,"spread":false}],"spread":false},{"title":"Documentation.pdf <span style='color:#111;'> 685.53KB </span>","children":null,"spread":false},{"title":"Icon.png <span style='color:#111;'> 1.27KB </span>","children":null,"spread":false},{"title":"Sprites","children":[{"title":"UIMask-FullAlpha.png.meta <span style='color:#111;'> 3.12KB </span>","children":null,"spread":false},{"title":"UIMask-FullAlpha.png <span style='color:#111;'> 600B </span>","children":null,"spread":false}],"spread":true},{"title":"Shaders.meta <span style='color:#111;'> 202B </span>","children":null,"spread":false},{"title":"Icon.png.meta <span style='color:#111;'> 2.14KB </span>","children":null,"spread":false},{"title":"Scripts","children":[{"title":"MaterialReplacer.cs <span style='color:#111;'> 4.70KB </span>","children":null,"spread":false},{"title":"SoftMask.asmdef.meta <span style='color:#111;'> 173B </span>","children":null,"spread":false},{"title":"TextMeshPro","children":[{"title":"MaterialReplacer.cs <span style='color:#111;'> 789B </span>","children":null,"spread":false},{"title":"MaterialReplacer.cs.meta <span style='color:#111;'> 276B </span>","children":null,"spread":false}],"spread":true},{"title":"MaterialReplacer.cs.meta <span style='color:#111;'> 276B </span>","children":null,"spread":false},{"title":"ISoftMask.cs <span style='color:#111;'> 363B </span>","children":null,"spread":false},{"title":"SoftMask.cs <span style='color:#111;'> 50.62KB </span>","children":null,"spread":false},{"title":"MaterialOps.cs <span style='color:#111;'> 832B </span>","children":null,"spread":false},{"title":"ClearListAtExit.cs <span style='color:#111;'> 275B </span>","children":null,"spread":false},{"title":"ISoftMask.cs.meta <span style='color:#111;'> 276B </span>","children":null,"spread":false},{"title":"MaterialReplacements.cs <span style='color:#111;'> 3.13KB </span>","children":null,"spread":false},{"title":"TextMeshPro.meta <span style='color:#111;'> 202B </span>","children":null,"spread":false},{"title":"SoftMaskable.cs.meta <span style='color:#111;'> 276B </span>","children":null,"spread":false},{"title":"ClearListAtExit.cs.meta <span style='color:#111;'> 276B </span>","children":null,"spread":false},{"title":"MaterialReplacements.cs.meta <span style='color:#111;'> 276B </span>","children":null,"spread":false},{"title":"Editor.meta <span style='color:#111;'> 180B </span>","children":null,"spread":false},{"title":"MaterialOps.cs.meta <span style='color:#111;'> 276B </span>","children":null,"spread":false},{"title":"SoftMask.cs.meta <span style='color:#111;'> 399B </span>","children":null,"spread":false},{"title":"Editor","children":[{"title":"SoftMask-Editor.asmdef.meta <span style='color:#111;'> 173B </span>","children":null,"spread":false},{"title":"PackageResources.cs.meta <span style='color:#111;'> 276B </span>","children":null,"spread":false},{"title":"TextMeshPro","children":[{"title":"ShaderGenerator.cs <span style='color:#111;'> 6.55KB </span>","children":null,"spread":false},{"title":"ShaderGenerator.cs.meta <span style='color:#111;'> 276B </span>","children":null,"spread":false},{"title":"ShaderPatcher.cs.meta <span style='color:#111;'> 276B </span>","children":null,"spread":false},{"title":"ShaderPatcher.cs <span style='color:#111;'> 9.82KB </span>","children":null,"spread":false}],"spread":false},{"title":"PackageResources.cs <span style='color:#111;'> 1.72KB </span>","children":null,"spread":false},{"title":"ConvertMaskMenu.cs.meta <span style='color:#111;'> 273B </span>","children":null,"spread":false},{"title":"SoftMaskEditor.cs <span style='color:#111;'> 16.88KB </span>","children":null,"spread":false},{"title":"TextMeshPro.meta <span style='color:#111;'> 202B </span>","children":null,"spread":false},{"title":"ConvertMaskMenuTest.cs <span style='color:#111;'> 10.22KB </span>","children":null,"spread":false},{"title":"ConvertMaskMenu.cs <span style='color:#111;'> 7.70KB </span>","children":null,"spread":false},{"title":"ConvertMaskMenuTest.cs.meta <span style='color:#111;'> 276B </span>","children":null,"spread":false},{"title":"SoftMaskEditor.cs.meta <span style='color:#111;'> 273B </span>","children":null,"spread":false},{"title":"SoftMask-Editor.asmdef <span style='color:#111;'> 166B </span>","children":null,"spread":false}],"spread":false},{"title":"SoftMaskable.cs <span style='color:#111;'> 7.60KB </span>","children":null,"spread":false},{"title":"SoftMask.asmdef <span style='color:#111;'> 30B </span>","children":null,"spread":false}],"spread":false},{"title":"Documentation.pdf.meta <span style='color:#111;'> 184B </span>","children":null,"spread":false}],"spread":true}],"spread":true}]

评论信息

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明