Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using UnityEngine;
- using System.Collections;
- [ExecuteInEditMode]
- public class PostEffect : MonoBehaviour {
- public Material effect;
- void OnRenderImage(RenderTexture source, RenderTexture destination)
- {
- Graphics.Blit(source, destination, effect);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement