|
|
|
@ -134,13 +134,20 @@ public class DebugDumper : MonoBehaviour |
|
|
|
GUI.matrix = Matrix4x4.Scale(new Vector3(scale, scale, scale)); |
|
|
|
} |
|
|
|
|
|
|
|
var renderSize = _layer.upscaling.MaxRenderSize; |
|
|
|
var displaySize = _layer.upscaling.UpscaleSize; |
|
|
|
|
|
|
|
GUILayout.BeginArea(new Rect(0, 0, Screen.width, Screen.height)); |
|
|
|
GUILayout.Label($"Upscaler: {(_layer.antialiasingMode == PostProcessLayer.Antialiasing.AdvancedUpscaling ? _layer.upscaling.upscalerType.ToString() : "None")}"); |
|
|
|
GUILayout.Label($"Quality: {_layer.upscaling.qualityMode}"); |
|
|
|
GUILayout.Label($"Exposure: {(_layer.upscaling.exposureSource)}"); |
|
|
|
GUILayout.Label($"Scale: {Mathf.RoundToInt(_scaleFactor * 100)}%"); |
|
|
|
GUILayout.Label($"Render: {Mathf.CeilToInt(renderSize.x * _scaleFactor)}x{Mathf.CeilToInt(renderSize.y * _scaleFactor)}"); |
|
|
|
GUILayout.Label($"Display: {displaySize.x}x{displaySize.y}"); |
|
|
|
if (Input.GetButton("Jump")) |
|
|
|
{ |
|
|
|
GUILayout.Label("Reset"); |
|
|
|
} |
|
|
|
GUILayout.EndArea(); |
|
|
|
} |
|
|
|
} |