12 lines
296 B
C#
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);
|
|
}
|
|
}
|