16 lines
401 B
C#
16 lines
401 B
C#
using System;
|
|
using UnityEngine;
|
|
using UnityEngine.Rendering.PostProcessing;
|
|
|
|
[Serializable]
|
|
[PostProcess(typeof(SceneTintRenderer), PostProcessEvent.BeforeTransparent, "PostProcess/SceneTint", true)]
|
|
public sealed class SceneTint : PostProcessEffectSettings
|
|
{
|
|
[Range(0f, 1f)]
|
|
[Tooltip("The intensity of the tint.")]
|
|
public FloatParameter tintIntensity = new FloatParameter
|
|
{
|
|
value = 0.5f
|
|
};
|
|
}
|