Warcorrespondents/Assets/Scripts/ScreenShader.cs

12 lines
296 B
C#
Raw Normal View History

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);
}
}