daily pastebin goal
41%
SHARE
TWEET

Untitled

a guest May 17th, 2018 81 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
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top