Advertisement
Guest User

Untitled

a guest
May 17th, 2018
97
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.26 KB | None | 0 0
  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. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement