Little Performance Increase

Buffering Set to 2 buffers (smoother)
lightmap and texture quality set to low
gpu instancing enabled
removed terrain colliders for trees
This commit is contained in:
brausjonas
2023-03-05 22:21:26 +01:00
parent b14b1d6883
commit 6d8d20dab7
39 changed files with 495 additions and 65 deletions
+6
View File
@@ -32,6 +32,8 @@ public class Client : MonoBehaviour
[SerializeField] private Item[] items;
[SerializeField] private Button[] itemButtons;
[SerializeField] private TMP_Text fpsText;
private int playerAmount = 0;
private static Client thisClient;
@@ -43,6 +45,8 @@ public class Client : MonoBehaviour
private void Start()
{
Application.targetFrameRate = 100;
thisClient = this;
foreach(Image img in uiItems)
@@ -125,6 +129,8 @@ public class Client : MonoBehaviour
private void Update()
{
fpsText.text = "" + Time.frameCount / Time.time + "";
if (jobs.Count > 0)
{
Job job = jobs.Dequeue();