Optimize Player UI updates with threshold-based rendering and add performance profiler autoload: implement UI_UPDATE_THRESHOLD constant to reduce unnecessary label updates, add conditional DEBUG compilation for debug prints, wrap debug output in preprocessor directives, add PerformanceProfiler autoload, switch to JoltPhysics3D engine, enable VSync, configure rendering quality settings (TAA, SSAA, anisotropic filtering, shadow atlas), and update main scene path
This commit is contained in:
6
Scenes/Autoload/PerformanceProfiler.tscn
Normal file
6
Scenes/Autoload/PerformanceProfiler.tscn
Normal file
@@ -0,0 +1,6 @@
|
||||
[gd_scene load_steps=2 format=3 uid="uid://performance_profiler"]
|
||||
|
||||
[ext_resource type="Script" path="res://Scripts/Tools/PerformanceProfiler.cs" id="1"]
|
||||
|
||||
[node name="PerformanceProfiler" type="CanvasLayer"]
|
||||
script = ExtResource("1")
|
||||
Reference in New Issue
Block a user