11 public void ResizeCameraToPixelPerfect()
13 this.cam.orthographicSize = this.GetOrthoSize() / this.Zoom;
17 public void OnChangeResolution()
22 public float GetOrthoSize()
28 result = (float)Screen.height * 0.5f * 0.01f;
31 result = (float)Mathf.FloorToInt((
float)Screen.height * 0.5f) * 0.01f;
34 result = (float)Mathf.RoundToInt((
float)Screen.height * 0.5f) * 0.01f;
37 result = (float)Mathf.CeilToInt((
float)Screen.height * 0.5f) * 0.01f;
40 result = (float)Screen.height * 0.5f * 0.01f + 0.005f;
50 public Vector3 renderPos;
56 public ScreenGrading grading;
59 public Upscaler upscaler;
62 public CameraSupport.Divider divier;
68 public float PixelsPerUnit = 100f;
71 public TiltShift tiltShift;
74 public BloomOptimized bloom;
77 public Beautify beautify;
80 public Kuwahara kuwahara;
83 public GaussianBlur blur;
87 public float Zoom = 1f;