16 lines
392 B
C#
16 lines
392 B
C#
|
|
using System.Collections;
|
|||
|
|
using System.Collections.Generic;
|
|||
|
|
using UnityEngine;
|
|||
|
|
|
|||
|
|
[ExecuteInEditMode]
|
|||
|
|
[RequireComponent(typeof(Camera))]
|
|||
|
|
public class BF_SquareBanding : MonoBehaviour
|
|||
|
|
{
|
|||
|
|
public Material cinematicBandsFX = null;
|
|||
|
|
|
|||
|
|
private void OnRenderImage(RenderTexture source, RenderTexture destination)
|
|||
|
|
{
|
|||
|
|
Graphics.Blit(source, destination, cinematicBandsFX);
|
|||
|
|
}
|
|||
|
|
}
|