开篇
1. 屏幕灰化效果简述
一般由于政策特殊日期等因素,或者游戏内角色死亡效果要求等等,我们会想看到一个整体灰色的效果。具体表现测试效果:
2. 需要了解
Unity后处理OnRenderImage
(https://docs.unity3d.com/ScriptReference/MonoBehaviour.OnRenderImage.html)
[Graphics](https://docs.unity3d.com/ScriptReference/Graphics.html).Blit
** Copies source texture into destination render texture with a shader