daily pastebin goal
36%
SHARE
TWEET

Untitled

a guest May 17th, 2018 80 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. using UnityEngine;
  2. using System.Collections;
  3. [ExecuteInEditMode]
  4. public class PostEffect : MonoBehaviour {
  5.     public Material effect;
  6.  
  7.     void OnRenderImage(RenderTexture source, RenderTexture destination)
  8.     {
  9.         Graphics.Blit(source, destination, effect);
  10.     }
  11. }
RAW Paste Data
Top