53 lines
1.5 KiB
C#
53 lines
1.5 KiB
C#
using UnityEngine;
|
|
|
|
namespace Golems
|
|
{
|
|
|
|
[CreateAssetMenu(fileName = "New AlbertGhostMemoryCompositeSettings", menuName = "Golems/Scriptable Render Features/AlbertGhostMemoryCompositeSettings")]
|
|
public class AlbertGhostMemoryCompositeSettings : ScriptableObject
|
|
{
|
|
[SerializeField] private float m_EdgeValue = 0.15f;
|
|
public float EdgeValue
|
|
{
|
|
get => m_EdgeValue;
|
|
set => m_EdgeValue = value;
|
|
}
|
|
|
|
[SerializeField] private float m_ChromaticAberration = 0.0005f;
|
|
public float ChromaticAberration
|
|
{
|
|
get => m_ChromaticAberration;
|
|
set => m_ChromaticAberration = value;
|
|
}
|
|
|
|
[SerializeField] private float m_ChromaticAberrationSpeed = 0.5f;
|
|
public float ChromaticAberrationSpeed
|
|
{
|
|
get => m_ChromaticAberrationSpeed;
|
|
set => m_ChromaticAberrationSpeed = value;
|
|
}
|
|
|
|
[SerializeField] private float m_Brightness = 0.5f;
|
|
public float Brightness
|
|
{
|
|
get => m_Brightness;
|
|
set => m_Brightness = value;
|
|
}
|
|
|
|
[SerializeField] private float m_Contrast = 1.0f;
|
|
public float Contrast
|
|
{
|
|
get => m_Contrast;
|
|
set => m_Contrast = value;
|
|
}
|
|
|
|
[Range(0.0f, 1.0f)] public float m_Alpha = .5f;
|
|
public float Alpha
|
|
{
|
|
get => m_Alpha;
|
|
set => m_Alpha = value;
|
|
}
|
|
}
|
|
}
|
|
|