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