This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
GRAYSCALE UI SHADER
将 UI 元素转换为灰度的 Shader。
支持 URP 和 Built-in 渲染管线。
材质参数:
- 饱和度:控制保留多少颜色(0 = 完全灰度)
- 增益:控制最终亮度
- 使用 Alpha Clip:启用基于透明度的裁剪
- 模板设置:比较、ID、操作、读写掩码
- 颜色遮罩:定义渲染哪些颜色通道
测试平台:Windows,Mac,Android
最低 Unity 版本:2022.1+
技术支持:Turishader@gmail.com