Newer
Older
Dreamsturbia-Project-IADE-Unity3D / Assets / Scripts / CameraEffect.cs
@Rackday Rackday on 21 Aug 2024 302 bytes Project Added
  1. using System.Collections;
  2. using System.Collections.Generic;
  3. using UnityEngine;
  4. public class CameraEffect : MonoBehaviour
  5. {
  6. public Material material;
  7. private void OnRenderImage(RenderTexture source, RenderTexture destination)
  8. {
  9. Graphics.Blit(source, destination,material);
  10. }
  11. }