NxrFlipY.cs 263 B

123456789101112
  1. using UnityEngine;
  2. namespace Nxr.Internal
  3. {
  4. public class NxrFlipY : MonoBehaviour
  5. {
  6. public Material _flipMat;
  7. void OnRenderImage(RenderTexture source, RenderTexture destination)
  8. {
  9. Graphics.Blit(source, destination, _flipMat);
  10. }
  11. }
  12. }