Warcorrespondents/Assets/Scripts/ScreenShader.cs
SAIPO 68e2b26553 1.加入了战场场景的硝烟感和回忆感的shader
使用方式:更改shader/回忆/Dream 材质里的参数即可调节屏幕Shader强度
2.完善了家中场景的水缸和与父亲对话的内容
2021-07-26 05:07:14 +08:00

12 lines
296 B
C#

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class ScreenShader : MonoBehaviour
{
public Material material;
private void OnRenderImage(RenderTexture source,RenderTexture destination){
Graphics.Blit(source, destination, material);
}
}