19 lines
401 B
C#
19 lines
401 B
C#
using System;
|
|
using UnityEngine;
|
|
|
|
namespace BF
|
|
{
|
|
public abstract class AbsPostEffect
|
|
{
|
|
protected static int LuminanceThresholdID;
|
|
|
|
static AbsPostEffect()
|
|
{
|
|
LuminanceThresholdID = Shader.PropertyToID("_LuminanceThreshold");
|
|
}
|
|
|
|
public bool active;
|
|
public abstract PostEffectContext OnRenderImage(PostEffectContext context);
|
|
}
|
|
}
|