forked from Unity-Technologies/EntityComponentSystemSamples
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathPostProcessingProfile.cs
More file actions
executable file
·66 lines (56 loc) · 2 KB
/
Copy pathPostProcessingProfile.cs
File metadata and controls
executable file
·66 lines (56 loc) · 2 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
using System;
namespace UnityEngine.PostProcessing
{
public class PostProcessingProfile : ScriptableObject
{
#pragma warning disable 0169 // "field x is never used"
public BuiltinDebugViewsModel debugViews;
public AntialiasingModel antialiasing;
public AmbientOcclusionModel ambientOcclusion;
public ScreenSpaceReflectionModel screenSpaceReflection;
public DepthOfFieldModel depthOfField;
public MotionBlurModel motionBlur;
public EyeAdaptationModel eyeAdaptation;
public BloomModel bloom;
public ColorGradingModel colorGrading;
public UserLutModel userLut;
public ChromaticAberrationModel chromaticAberration;
public GrainModel grain;
public VignetteModel vignette;
#if UNITY_EDITOR
// Monitor settings
[Serializable]
public class MonitorSettings
{
// Callback used in the editor to grab the rendered frame and sent it to monitors
public Action<RenderTexture> onFrameEndEditorOnly;
// Global
public int currentMonitorID = 0;
public bool refreshOnPlay = false;
// Histogram
public enum HistogramMode
{
Red = 0,
Green = 1,
Blue = 2,
Luminance = 3,
RGBMerged,
RGBSplit
}
public HistogramMode histogramMode = HistogramMode.Luminance;
// Waveform
public float waveformExposure = 0.12f;
public bool waveformY = false;
public bool waveformR = true;
public bool waveformG = true;
public bool waveformB = true;
// Parade
public float paradeExposure = 0.12f;
// Vectorscope
public float vectorscopeExposure = 0.12f;
public bool vectorscopeShowBackground = true;
}
public MonitorSettings monitors = new MonitorSettings();
#endif
}
}