Guest User

Untitled

a guest
Oct 21st, 2018
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.28 KB | None | 0 0
  1. using UnityEngine;
  2.  
  3. //[ExecuteInEditMode]
  4. public class PostEffect : MonoBehaviour {
  5.  
  6. [SerializeField]
  7. private Material _material;
  8.  
  9. private void OnRenderImage(RenderTexture source, RenderTexture destination)
  10. {
  11. Graphics.Blit(source, destination, _material);
  12. }
  13. }
Add Comment
Please, Sign In to add comment